Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 925 Bytes

README.MD

File metadata and controls

28 lines (19 loc) · 925 Bytes

byerecaptcha - Google Recaptcha solver with selenium.

Model and some codes takes from embium's repository

-Installation-

pip install byerecaptcha

-How to use-

from selenium import webdriver
from selenium_utilities import getChromeDriver
from byerecaptcha import solveRecaptcha

options = webdriver.ChromeOptions()
options.add_argument('--lang=en-US') #need for recaptcha be in english

driver = webdriver.Chrome(executable_path=getChromeDriver(), chrome_options=options)
driver.get('https://www.google.com/recaptcha/api2/demo')
solveRecaptcha(driver) #FOR PREDICTION ON YOUR PC

solveRecaptcha(driver, server="https://myserver.com") #FOR PREDICTION IN YOUR SERVER (check server.py)

solveRecaptcha(driver, invisible=True) #FOR PREDICTION INVISIBLE CAPTCHA