scrapy 向爬虫服务发送请求
原创
©著作权归作者所有:来自51CTO博客作者那时一个人的原创作品,请联系作者获取转载授权,否则将追究法律责任
curl http://localhost:6800/schedule.json -d project=default -d spider=somespider
shell 命令请求转换为python 请求:
request.post('http://localhost:6800/schedule.json',data={'project':'default','spider':'somespider'}
懂得,原来世界如此简单!