Skip to content

rish-hyun/geetest-slider-captcha-bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages