# 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