How to save Scrapy crawl Command output

后端 未结 7 1777
太阳男子
太阳男子 2021-02-01 10:06

I am trying to save the output of the scrapy crawl command I have tried scrapy crawl someSpider -o some.json -t json >> some.text But it doesn\'t worked ...c

7条回答
  •  孤街浪徒
    2021-02-01 10:43

    you can use nohup:

    nohup scrapy crawl someSpider &
    

    The log will be stored in nohup.out

提交回复
热议问题