How to change the header just for a specific request in scrapy spider?

前端 未结 0 1888
清歌不尽
清歌不尽 2020-12-01 21:25

I am trying to build a web crawler using scrapy. I want to change useragent for a single request in the spider. I tried the below code but the user agent is not

相关标签:
回答
  • 消灭零回复
提交回复
热议问题