美文网首页
爬虫的启动、暂停和恢复

爬虫的启动、暂停和恢复

作者: AlastairYuan | 来源:发表于2018-11-19 08:59 被阅读0次

爬虫的启动、暂停和恢复

启动:scrapy crawl somespider -s JOBDIR=crawls/somespider-1

暂停: Ctrl+C

恢复: scrapy crawl somespider -s JOBDIR=crawls/somespider-1


参考:https://doc.scrapy.org/en/latest/topics/jobs.html

相关文章

网友评论

      本文标题:爬虫的启动、暂停和恢复

      本文链接:https://www.haomeiwen.com/subject/gefofqtx.html