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

DedInc/byerecaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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