from scrapy.shell import inspect_response code example
Example 1: scrapy shell
scrapy shell <url>
Example 2: "scrapy shell" pass cookies to fetch
On command line: scrapy shell
from scrapy import Request
req = Request('yoururl.com', cookies={"header1":"value1"})
fetch(req)