scrapy 向爬虫服务发送请求详解程序员

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://blog.ytso.com/1581.html

(0)
上一篇 2021年7月15日
下一篇 2021年7月15日

相关推荐

发表回复

登录后才能评论