Skip to content

Releases: captcha-solver-api/python-sdk

v1.0.2

Choose a tag to compare

@dzmitry-duboyski dzmitry-duboyski released this 20 Sep 17:18

v1.0.2

Changed

  • Default polling_interval raised to 10 seconds.

Removed

  • Yandex SmartCaptcha image puzzle support: the imgType argument of CoordinatesTask and the yandex_smartcaptcha_image examples. Token-based YandexSmartCaptchaTask / YandexSmartCaptchaTaskProxyless are unaffected.

Docs

  • Docstring for ProxyMixin.set_proxy.
  • Removed stale Yandex puzzle references from README.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@dzmitry-duboyski dzmitry-duboyski released this 20 Sep 17:16

v1.0.1

Fixed

  • solve() polling now follows the API recommendations: it waits before the first getTaskResult call, and the default polling_interval is 5 seconds (was 3).
  • The timeout deadline uses a monotonic clock, and the last sleep is clipped so solve() never overshoots the deadline.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@dzmitry-duboyski dzmitry-duboyski released this 20 Sep 17:15

v1.0.0

First PyPI release of the official Captcha Solver Python SDK.

Highlights

  • Sync CaptchaClient (requests) and async AsyncCaptchaClient (httpx) with the same API: solve(), create_task(), get_task_result(), get_balance().
  • Task classes for reCAPTCHA v2 / v2 Enterprise / v3, Cloudflare Turnstile, GeeTest v3 & v4, Yandex SmartCaptcha, Tencent, Image to Text and Coordinates (click) captchas, each with proxy and proxyless variants where the API supports them.
  • Typed package (py.typed), Python 3.9+.
  • Every request sends an X-SDK: python-sdk/<version> header.
  • Typed exceptions: ApiError, NetworkError, ValidationError, CaptchaTimeoutError.

Notes

  • The package is published as captcha-solver-api; import it as captcha_solver_api.
pip install captcha-solver-api