学习使用beanbun,通过一个简单的crawling和parser了解爬虫网页概念和使用方法
- 需安装xml保证php有dom来parser爬下来的网页
php -v
apt-cache search php-xml
apt-get install php-xml
or apt-get install php7.2-xml
使用方法
在工程根目录下
$ php queue.php start
$ php start.php start
$ php start.php stop
$ php queue.php stop
$ php start.php clean
使用方法
在工程根目录下
$ php parser.php