Adds GeeTest v3 (slide) solving to the CapSkip Python SDK.
Install
pip install capskip==1.1.0
PyPI: https://pypi.org/project/capskip/
What's new
GeeTest v3 via geetest(gt, challenge, url) on both CapSkip and AsyncCapSkip:
result = solver.geetest(
gt="81388ea1fc187e0c335c0a8907ff2625",
challenge="7cf6a8b1a2c34d5e6f7089abcdef0123",
url="https://example.com/login",
)
result["challenge"] # geetest_challenge
result["validate"] # geetest_validate
result["seccode"] # geetest_seccodecode keeps the raw JSON string CapSkip returns, so code written against another solver's API keeps working; the parsed fields are added alongside it.
gtis static per site, butchallengeis single-use and expires in about a minute — fetch a fresh pair immediately before each solve.
Also in this release
proxytypeis now validated against the values CapSkip accepts (HTTP,HTTPS,SOCKS5,SOCKS5H, case-insensitive) for every proxy-capable captcha type.SOCKS4and other values previously reached the server and returnedERROR_BAD_PARAMETERS; they now raiseValidationExceptionlocally.apiServer/api_subdomainaccepted as aliases forapi_server.- Optional
api_serversubdomain override, and proxy support, for GeeTest.
Compatibility
No breaking changes. Image CAPTCHA, reCAPTCHA v2/v3 and Cloudflare Turnstile are unaffected.
Full Changelog: v1.0.2...v1.1.0