📅  最后修改于: 2022-03-11 14:46:12.492000             🧑  作者: Mango
On command line: scrapy shell
from scrapy import Request
req = Request('yoururl.com', cookies={"header1":"value1"})
fetch(req)