scrapy 向爬虫服务发送请求
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'}
本文来自博客园,作者:那时一个人,转载请注明原文链接:https://www.cnblogs.com/qianxunman/p/13227856.html