ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.05k stars 1.09k forks source link

[NoDriver] Cannot bypass cloudflare on any website #1875

Open Marlins999 opened 1 month ago

Marlins999 commented 1 month ago

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?

ultrafunkamsterdam commented 1 month ago

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.

ultrafunkamsterdam commented 1 month ago

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

max32002 commented 1 month ago

in fact, nodriver not able to save cookies. https://github.com/ultrafunkamsterdam/nodriver/commit/5f5a78bdc54679f526e23c0b2bf8c9cc43614712

benykatz1 commented 1 month ago

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.

lunden23 commented 1 month ago

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?

mashien0201 commented 1 month ago

@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 commented 1 month ago

@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 :-)

benykatz1 commented 1 month ago

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

lunden23 commented 1 month ago

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: https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/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.