scrapy print response contents code example
Example: 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