using response.xpath in scrapy shell data is not displaying line by line code example
Example: "scrapy shell" pass cookies to fetch
On command line: scrapy shell
from scrapy import Request
req = Request('yoururl.com', cookies={"header1":"value1"})
fetch(req)