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
scrapy crawl someSpider -o some.json -t json >> some.text
You can add these lines to your settings.py:
settings.py
LOG_STDOUT = True LOG_FILE = '/tmp/scrapy_output.txt'
And then start your crawl normally:
scrapy crawl someSpider