如何绕过cloudflare浏览器检查selenium Python
I am trying to access a site using selenium Python.
But the site is checking and checking continuously by cloudflare.
No other page is coming.
Check the screenshot here.
I have tried undetected chrome but it is not working at all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
未检测到的 chrome 是指未检测到的 chromedriver 吗?:
无论如何,未检测到的 chromedriver 对我有用:
未检测到的 chromedriver
Github: https: //github.com/ultrafunkamsterdam/unDetected-chromedriver
获取 cloudflare 受保护站点的代码:
我的 POV
登录您的 Google 帐户的快速设置代码:
Github:https://github.com/xtekky/google-login-bypass
By undetected chrome do you mean undetected chromedriver?:
Anyways, undetected-chromedriver works for me:
Undetected chromedriver
Github: https://github.com/ultrafunkamsterdam/undetected-chromedriver
Code that gets a cloudflare protected site:
My POV
Quick setup code that logs into your google account:
Github: https://github.com/xtekky/google-login-bypass
https://github.com/seleniumbase/SeleniumBase 具有未检测到的 chromedriver 模式 (
--uc
/uc=True
)。pip install seleniumbase
后,类似这样的脚本将绕过带有 Cloudflare Turnstile 的站点。(使用
sb.driver
访问原始驱动程序。)还有一种简单的
driver
格式:它可以绕过大多数站点的检测:
https://github.com/seleniumbase/SeleniumBase has undetected-chromedriver mode (
--uc
/uc=True
).After
pip install seleniumbase
, a script like this will bypass a site with Cloudflare turnstiles.(Use
sb.driver
to access the raw driver.)There's also a simple
driver
format:It can bypass detection on most sites:
简单的方法很有用:
The simple method is useful: