Generate Browser Finger Print
Hello,
First of all, thank you for this amazing library! It's fast and works flawlessly.
I have a question or possibly a feature request:
How can I generate a unique fingerprint each time I start the browser? I want to stay undetectable, but I keep getting flagged even when using proxies.
Hi @dx-bear, thanks for your feedback!
I'll implement this feature, but you already can do that in a more manual way. For example, you can change your user agent:
options.add_argument('--user-agent=new_useragent')
You also override your timezone:
await page._execute_command({"method": "Emulation.setTimezoneOverride", "params": {"timezoneId": "timezone_id"}})
# you can check the timezones here: https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt
You can also change the hardware concurrency:
await page._execute_command({"method": "Emulation.setHardwareConcurrencyOverride", "params": {"hardwareConcurrency": 5}})
To change your location:
await page._execute_command({"method": "Emulation.setLocaleOverride", "params": {"locale": "pt_BR"}}) # en_US, etc
There are others emulations, but I think those above are sufficient. Also, you can check this markdown I've created, there are more informations about stay undetectable.
Thanks
If that works for you, please close the issue as resolved :)
I Still getting detected but i think it is a proxy problem
I hope you implement this feature there is a nice Finger print Generator library that you can use it https://github.com/scrapfly/fingerprint-generator
https://github.com/3-Tokisaki-Kurumi/pydoll-enhance
或许您可以测试一下,maybe you can test fingerprint camouflage