CA
Crawlee & Apify16mo ago
helpful-purple

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
deep-jade
deep-jade16mo 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
helpful-purple
helpful-purpleOP16mo ago
Thanks. Awesome, that’s I want. And, another question, how to insert timezoneId ?😆
deep-jade
deep-jade16mo 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
helpful-purple
helpful-purpleOP16mo ago
Thank you much 😆😆

Did you find this page helpful?