-
-
Notifications
You must be signed in to change notification settings - Fork 231
fingerprint camouflage #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
这些代码风格问题(空行空格、文件末尾换行等)不影响功能实现。考虑到当前 PR 的主要目的是添加指纹伪装功能,建议先审查功能有效性,这些微小的格式问题可以在后续优化。 |
只是测试分支没有测试到,但是不影响使用 |
Hi @3-Tokisaki-Kurumi , thank you so much for you contribution! To maintain consistency with the rest of the code, we only need to translate what's necessary into English |
Thank you for your attention. I will translate the necessary content into English |
现在我已经将必要的内容和注释翻译成英语,您可以审阅一下,之后我会继续贡献更优化的代码 Now I have translated the necessary content and comments into English, you can review them, and I will continue to contribute more optimized code afterwards |
Sorry for the delay. I'm currently finalizing version 2 of Pydoll, which will introduce breaking changes. Once it's done, we can move forward with your contribution, as a few more adjustments will be needed. I appreciate your understanding |
OK,期待你的Pydoll v2,感谢您带来了一个强大的自动化工具,等待你的更改之后我们可以继续处理此贡献 OK, Looking forward to your Pydoll v2. Thank you for bringing us a powerful automation tool. We are waiting for your changes before we can proceed with this contribution |
占位,准备继续完成该贡献 Position occupied, ready to continue completing the contribution |
新内置一个指纹伪装功能
Add fingerprint camouflage
New built-in fingerprint camouflage function
Pull Request: 添加浏览器指纹伪装功能
#Pull Request: Add browser fingerprint spoofing feature
描述
##Description
本PR为pydoll库添加了全面的浏览器指纹伪装功能,允许用户轻松地在自动化浏览过程中伪装浏览器指纹。该功能可以有效避免被网站检测为自动化工具,增强隐私保护,提高爬虫成功率。
This PR adds comprehensive browser fingerprint spoofing functionality to the pydoll library, allowing users to easily disguise their browser fingerprints during automated browsing. This feature can effectively avoid being detected as an automated tool by websites, enhance privacy protection, and improve the success rate of web crawlers.
实现了以下核心功能:
The following core functions have been implemented:
-A complete fingerprint generation system, including UserAgent, WebGL, Canvas, Audio, and other multi-dimensional disguises
enable_fingerprint_spoofing=True
参数-One click enable design, just set the parameter 'enable_fingerprint_stpoofing=True'
-Global fingerprint manager singleton, convenient for sharing fingerprint information between different modules
-Automatically inject JavaScript protection code, deeply disguise browser features
相关问题
##Related issues
-Solved the problem of being recognized by anti crawling systems in automated browsing
-Enhanced user privacy protection capability
-Improved operational stability on anti fingerprint websites
变更类型
##Change type
-[x] New features (added functionality and backward compatibility)
-[] Bug fixes (fixes for backward compatibility issues)
-[] Destructive changes (causing existing functionality to be unavailable)
-[x] Document update
-Refactoring (no functional changes)
-[] Performance improvement
-[x] Testing (adding missing tests or correcting existing tests)
-[x] Build or CI/CD related changes
测试方法
##Testing method
该功能通过以下方式进行了测试:
This feature was tested through the following methods: