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
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
Metadata
Release files for unicaps 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unicaps-0.0.2.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unicaps-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.2 kB
Release files / unicaps-0.0.2.tar.gz
| Download URL | unicaps-0.0.2.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83964b2c584707ebde03609d57f23e80e25f61a20f2d97d60feb2d9c745e0b32
|
|
BLAKE2b-256 checksum How to use checksums |
1977417341df9afda66b5deb39efb32f136242bf0bc4c0828f557f66831b0eb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / unicaps-0.0.2-py3-none-any.whl
| Download URL | unicaps-0.0.2-py3-none-any.whl |
|---|---|
| Size | 33.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
374c1629a6e7b9b602db4deb0e0d7d75c3ec7ca880c424023318c316f0209139
|
|
BLAKE2b-256 checksum How to use checksums |
57e75428851883bece0320257bc076e8224aa7fe5ec9ed21e7b3f663c4012cf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|