-
Hey, I'm trying to bypass the captcha on this website: https://ndenthaitingsho.org/ver?uid=44225480847683420&cat=18&red=https%3A//youtu.be/6NTlLxKTMMA&sub=2 Sometimes, Cloudflare doesn't prompt for captcha, but other times it does. I want to automatically solve it, but my script doesn't seem to detect the CAPTCHA and does nothing. Any suggestions on how to detect the captcha on this site? Here's my code: from seleniumbase import Driver driver = Driver(uc = True) driver.get(url) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For the non-standard CAPTCHA, use from seleniumbase import SB
with SB(uc=True) as sb:
url = "https://ndenthaitingsho.org/ver?uid=44225480847683420&cat=18&red=https%3A//youtu.be/6NTlLxKTMMA&sub=2"
sb.activate_cdp_mode(url)
sb.sleep(2)
sb.cdp.gui_click_element("#check")
sb.sleep(3) |
Beta Was this translation helpful? Give feedback.
For the non-standard CAPTCHA, use
sb.cdp.gui_click_element(selector)