Search code examples
pythonseleniumwebdriver

Selenium webdriver blocked Cloudflare. Python


I am using selenium to analyze other sites, and on those sites cloudflare blocks it. How to make Cloudflare not block webdriver?

Versions used:: 93, 65, 70, 86. Everybody doesn't work

Not working сhromedriver arguments:

--disable-blink-features=AutomationControlled

--disable-setuid-sandbox

--no-zygote

and many others

ProtonVPN, windscribe VPN:

I used 3-4 different IPs on each VPN. Blocks every.

In Winscribe I used paid account - blocks anyway

photo


Solution

  • You can switch to Playwright and use Firefox or WebKit in headless mode(Chromium somehow can still be detected).