Start a new topic
Answered

scrapy Set custom request header

scrapy How to set custom request header


Best Answer

You can find that answer in Scrapy doc's.

Either by setting DEFAULT_REQUEST_HEADERS:  https://docs.scrapy.org/en/latest/topics/settings.html#default-request-headers  or via the headers parameter in request object:  https://docs.scrapy.org/en/latest/topics/request-response.html#request-objects 

1 Comment

Answer

You can find that answer in Scrapy doc's.

Either by setting DEFAULT_REQUEST_HEADERS:  https://docs.scrapy.org/en/latest/topics/settings.html#default-request-headers  or via the headers parameter in request object:  https://docs.scrapy.org/en/latest/topics/request-response.html#request-objects 

Login to post a comment