scrapy crawl spider -s JOBDIR=record/spider-1
2、暂停爬虫
- 终端输入Ctrl+C,此时爬虫并不会立即停止,需要等待一会
- 当终端出现可以敲击命令时,说明爬虫已暂停
3、恢复爬虫
scrapy crawl spider -s JOBDIR=record/spider-1
scrapy crawl spider -s JOBDIR=record/spider-1
scrapy crawl spider -s JOBDIR=record/spider-1