Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.65 KB

README.md

File metadata and controls

57 lines (43 loc) · 1.65 KB

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')