Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NoDriver] Cannot bypass cloudflare on any website #1875

Open
Marlins999 opened this issue May 8, 2024 · 9 comments
Open

[NoDriver] Cannot bypass cloudflare on any website #1875

Marlins999 opened this issue May 8, 2024 · 9 comments

Comments

@Marlins999
Copy link

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
Copy link
Owner

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
Copy link
Owner

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

@max32002
Copy link

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

@benykatz1
Copy link

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
Copy link

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
Copy link

mashien0201 commented May 13, 2024

@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
Copy link

@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
Copy link

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

@lunden23
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants