python - Scrapy overwrite json files instead of appending the file -
is there way overwrite said file instead of appending it?
example)
scrapy crawl myspider -o "/path/to/json/my.json" -t json scrapy crawl myspider -o "/path/to/json/my.json" -t json
will append my.json file instead of overwrite it.
scrapy crawl myspider -t json --nolog -o - > "/path/to/json/my.json"
Comments
Post a Comment