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