For my project I need to implement seleniumBase driver with uc=True to bypass cloudflare.
When I set proxy=False everything works like a charm and my project is finished.
But when I implement proxy (tested with different proxy providers) cloudflare detects the browser.
This is my code:
#Does not work
from seleniumbase import Driver
proxies = "Usernam:Password@Server:Port"
driver = Driver(
uc=True,
log_cdp=True,
headless=False,
no_sandbox=True,
agent=agent,
proxy=proxies
)
#Works
from seleniumbase import Driver
driver = Driver(
uc=True,
log_cdp=True,
headless=False,
no_sandbox=True,
agent=agent,
proxy=False
)
Any ideas why it fails when I implement proxy?