SpiderKeeper使用

spiderkeeper使用

pip3 install spiderkeeper
官方Git:https://github.com/DormyMo/SpiderKeeper

配置Scrapy.cfg

1
2
3
4
5
6
[settings]
default = demo.settings
[deploy:zh]
url = http://localhost:6800/
project = demo

将Scrapy打成egg包
sudo scrapyd-deploy zh -p demo --build-egg output.egg

终端执行spiderkeeper --server=http://localhost:6800
然后在控制台中找到Deploy 然后选择egg包即可

参考链接:https://www.jianshu.com/p/5c76ab84e6d8