other-emerald
other-emerald2y ago

How can I set q={value} in “accept-language” part when using fingerprint suite?

I am using fingerprint suite to crawl data from Google Search Results, is there a automatic way to generate q={value} when I use fingerprint suite?
4 Replies
Oleg V.
Oleg V.2y ago
What is the purpose ? can You please provide more info about use case? Maybe You can use "locales" option in FingerprintGeneratorOptions ? https://crawlee.dev/api/browser-pool/interface/FingerprintGeneratorOptions#locales
other-emerald
other-emeraldOP2y ago
Thanks. Awesome, that’s I want. And, another question, how to insert timezoneId ?😆
Oleg V.
Oleg V.2y ago
Try to set it in crawler's launchOptions. E.q.:
launchContext: {
launchOptions: {
timezoneId: 'America/New_York',
locale: 'en/US',
args: [
'--disable-gpu',
],
},
useChrome: true,
},
launchContext: {
launchOptions: {
timezoneId: 'America/New_York',
locale: 'en/US',
args: [
'--disable-gpu',
],
},
useChrome: true,
},
https://crawlee.dev/api/playwright-crawler/interface/PlaywrightLaunchContext#launchOptions
other-emerald
other-emeraldOP2y ago
Thank you much 😆😆

Did you find this page helpful?