bind launch-context(timezone,locale) with proxy

Dear all, I have bunch of proxies. Cloudflare and many other anti-bot protections check for the ip address and the timezone. I could see that because of this discripency my crawler is being detected as bot. How can I bind this launch context which has correct timezone and locale to a proxy+ browser ? I have seen proxy configuration but how can I tell the browser being launched to use a specific context ? Thanks in advance.
6 Replies
complex-teal
complex-tealOP3y ago
@Lukas Krivka any thoughts here ?
generous-apricot
generous-apricot3y ago
This is currently a bit tricky. For whole crawler you can easily set it up in browserPoolOptions.fingerprintOptions but not sure how to bound the launch context to each session. There is probably a way with browser pool and session pool. @petrpatek.
complex-teal
complex-tealOP3y ago
Thanks Lukas. This would be realy cool feature.
optimistic-gold
optimistic-gold3y ago
Is there an option for timezone in fingerprintOptions ? I've never seen this one in docs or in type defs.
generous-apricot
generous-apricot3y ago
I think not but you can hardcode this to launchContext
optimistic-gold
optimistic-gold3y ago
Ok, thanks. Had a thought I was missing something

Did you find this page helpful?