crawler-worker
the worker side of nova-crawler
Install
Install the module with:
npm install crawler-worker
命令行参数
- -g 爬虫的所服务于的 game server 的 server id
- -p 爬虫服务(crawler-service) 所使用的 redis 的 port, 默认 6379
- -h 爬虫服务(crawler-service) 所使用的 redis 的 host, 默认 localhost
- -o 输出爬虫结果信息页面的 根 目录,比如某个页面要生产到 /var/www/loginsrv/public/players/3342/33422312.html 那么根目录就是
/var/www/loginsrv/public/players/
License
Copyright (c) 2013 yi Licensed under the NA license.