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 5 CAPTCHA solving services (3 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 TikTok
2captcha.com
anti-captcha.com
azcaptcha.com
cptch.net
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.3.0.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unicaps-0.3.0-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

Details for the file unicaps-0.3.0.tar.gz.

File metadata

  • Download URL: unicaps-0.3.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.8

File hashes

Hashes for unicaps-0.3.0.tar.gz
Algorithm Hash digest
SHA256 412444b4bde7683c16ecd7cda404f36cff77b45d5075aa936ea24744f895188f
MD5 72b026cc4679b2a28800ab65595dd5df
BLAKE2b-256 ad30b5bb2db8b195422e3fb6aa289da566482d724f213a497b1d11fe9e541cf5

See more details on using hashes here.

File details

Details for the file unicaps-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: unicaps-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 37.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.8

File hashes

Hashes for unicaps-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a45b940933cda58440bb370de6e6423d50b9b31b7484ff524e74f893aa1e3a2a
MD5 e1aa16f948a206a037d5e6bf3591dda1
BLAKE2b-256 1e31ec6452fc16e34c8e5783b5ab7df06941df561611998d255ca2396dcdbe81

See more details on using hashes here.

Supported by

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