Skip to content

sanidhyaagrawal/geetest-captcha-bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Geetest Slider Captcha Bypass

Bypass Geetest Slider Captcha using Selenium and OpenCV


To install required dependencies, run this in a shell/terminal
pip install -r requirements.txt
apt install chromium-chromedriver # if running on linux

Now import the GSC_solver class

from gsc import GSC_solver

gsc = GSC_solver()
search_term = 'bts_official_bighit'
driver = gsc.solve(f'https://www.tiktok.com/@{search_term}')

or

. . .

driver = webdriver.Chrome(chrome_driver_path, desired_capabilities=caps, options=chrome_options)
search_term = 'bts_official_bighit'
driver.get(f'https://www.tiktok.com/@{search_term}')

# Solve captcha by passing webdriver object
driver = gsc.solve(driver)

. . .


If you want to save snapshots like these, give location at snapshot_path in solve

gsc.solve(. . . , snapshot_path = 'enter_path_here')

About

Bypass Geetest Slider Captcha using Selenium and OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages