ihandmine / anti-useragent

fake pc or app browser useragent, anti useragent, and other awesome tools
https://ihandmine.github.io/docs-ua/
Mozilla Public License 2.0
230 stars 12 forks source link

scrapy-redis中更改tls无效 #4

Open luoshun1 opened 2 years ago

luoshun1 commented 2 years ago

我在scrapy中配置DOWNLOADER_CLIENTCONTEXTFACTORY = 'anti_useragent.utils.scrapy_contextfactory.Ja3ScrapyClientContextFactory'后, 每次请求的ja3确实不同。但如果在scrapy-redis中配置这个的话, 只会在启动的时候更改一次ja3, 之后就一直不变了。这个有办法弄吗?

ihandmine commented 2 years ago

我这边用scrapy_redis测试是没有问题的, 你再检查一下你的代码