ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

Home Page:https://github.com/UltrafunkAmsterdam/undetected-chromedriver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[NoDriver] Cannot bypass cloudflare on any website

Marlins999 opened this issue · comments

commented

I am trying to send request to yggtorrent.cool (or any other website under uam)
And it simply not working..
I've tried using undetected chromedriver, NoDriver, but had no luck since i always get the cloudflare page with the title "Just a moment..."

Will there be a fix available ? am i the only one who's having this issue?

commented

Cloudflare changed the procedure to have IUAM always require user response. i also get it on my mobile phone using 5G, which of course has nothing tampered with.

commented

you can always tick the box yourself . and save cookies e.d.

commented

in fact, nodriver not able to save cookies.
ultrafunkamsterdam/nodriver@5f5a78b

Can I simulate the click via nodriver code? i wasn't able to get the input checkbox as it most probably part of an iframe.

Yeah same @benykatz1, can't use the built in click methods to click the checkbox. It instead clicks in the middle of the browser. I assume this is because it's a widget in an iframe. Has anyone found a method to automatically click it?

@benykatz1
location = pyautogui.locateOnScreen(screenshot_path, confidence=0.8) #
if location:
center = pyautogui.center(location)
pyautogui.click(center)
else:
print("Can't find location")

screenshot_path is cloudflare checkbox image like this .
cf

@benykatz1 location = pyautogui.locateOnScreen(screenshot_path, confidence=0.8) # if location: center = pyautogui.center(location) pyautogui.click(center) else: print("Can't find location")

screenshot_path is cloudflare checkbox image like this . cf

WOW - you're really smart :-)

It's working but I thought it'll be more useful to have this option 'built in' without using pyautogui.

It's working but I thought it'll be more useful to have this option 'built in' without using pyautogui.

It is possible to click the box automatically using Nodriver using the solution posted here: #1794

However, using Nodriver's built in click functionality is detected by Cloudflare as an automated click and won't let you bypass the bot detection challenge. So you have to use PyAutoGui anyways most likely.