Skip to main content

Universal CAPTCHA Solver for humans

Project description

Unicaps

Unicaps is a unified Python API for CAPTCHA solving services.

вљ  PLEASE NOTE
вљ  A solving service API key is required to use this package!
вљ  The list of the supported services you can find in the table below.

Key Features

  • A unified Python interface that is independent of the service used
  • Uses native service protocol/endpoints (eg, no needs in patching hosts file)
  • Supports 9 types of CAPTCHAs
  • Supports 3 CAPTCHA solving services (5 more would be added soon)
  • Written Pythonic way and is intended for humans

Installation

pip install unicaps

Simple Usage Example

>>> from unicaps import CaptchaSolver
>>> solver = CaptchaSolver("2captcha.com", api_key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
>>> solver.get_balance()
2.84161
>>> solved = solver.solve_image_captcha(open("captcha.jpg", "rb"), is_phrase=False, is_case_sensitive=True)
>>> solved.solution.text
'w93Bx'
>>> solved.cost
0.00078
>>> solved.report_good()
True

Supported CAPTCHAs / Services

CAPTCHA➡ \ Service⬇ Image Text reCAPTCHA v2 reCAPTCHA v3 FunCaptcha KeyCAPTCHA Geetest hCaptcha Capy
2captcha.com вњ… вњ… вњ… вњ… вњ… вњ… вњ… вњ… вњ…
anti-captcha.com вњ… вќЊ вњ… вњ… вњ… вќЊ вњ… вњ… вќЊ
rucaptcha.com вњ… вњ… вњ… вњ… вњ… вњ… вњ… вњ… вњ…

Code examples

Examples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unicaps-0.0.4.tar.gz (18.8 kB view hashes)

Uploaded Source

Built Distribution

unicaps-0.0.4-py3-none-any.whl (31.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page