how to store scrapy data in json code example
Example 1: scrapy json output
#scrapy command in terminal
scrapy crawl <spidername> -o <filename>.json
Example 2: how to get scrapy output file in json
# Add this line below start_urls
custom_settings = {"FEEDS":{"results.json":{"format":"json"}}}
#working on scrapy version 2.4.1
# to export output into json file format