scrapy Set custom request header

Posted over 4 years ago by zwwayne

Post a topic
Answered
z
zwwayne

scrapy How to set custom request header

0 Votes

nestor

nestor posted over 4 years ago Admin 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 

0 Votes


1 Comments

nestor

nestor posted over 4 years ago Admin 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 

0 Votes

Login to post a comment