Skip to content

Instantly share code, notes, and snippets.

View oursocks's full-sized avatar

OurSocks.io oursocks

View GitHub Profile
@oursocks
oursocks / recaptcha-v3-solver.py
Created August 24, 2019 07:29
How to solve reCAPTCHA v3 using Python for Scraping the Easy Way (Using an OCR API)
import imagetyperzapi2
#... then go to the page using a webdriver object called driver
try:
driver.find_element_by_xpath("//*[@data-sitekey]")
captcha = True
except NoSuchElementException:
captcha = False