php_web_spider:A web crawler written in PHP php网络蜘蛛,信息收集工具A web spider, using php, based on cURL & simple html dom

时间:2021-06-24 03:00:39
【文件属性】:
文件名称:php_web_spider:A web crawler written in PHP php网络蜘蛛,信息收集工具A web spider, using php, based on cURL & simple html dom
文件大小:38KB
文件格式:ZIP
更新时间:2021-06-24 03:00:39
PHP php_web_spider php网络蜘蛛,信息收集工具 一个php实现的、基于cURL和simple html dom的轻量级网络爬虫 A web spider, using php, based on cURL & simple html dom. 配置 // 简单配置 cookie文件目录和第三方网页分析库simple_html_dom的位置 define("COOKIE_FILE", "./cookie.txt"); define("PARSER_FILE", './simple_html_dom.php'); // 添加php_web_spider,创建一个实例 require_once('./php_web_spider.php'); $sp = new spider; 应用场合一 抓取检索结果 // eg1 可以直接get百度检索结果 $url = 'http://ww
【文件预览】:
php_web_spider-master
----core()
--------simple_html_dom.php(62KB)
--------php_web_spider.php(15KB)
----application()
--------index.php(0B)
--------papers.php(3KB)
--------config.php(2KB)
--------lectures.php(490B)
--------php_simple_ui.js(676B)
--------book.php(344B)
--------lib.php(405B)
--------third_party()
--------news.php(7KB)
--------reader.php(857B)
----.gitignore(2KB)
----README.md(2KB)
----.gitattributes(483B)

网友评论