CapSolver.com library for Python
Project description
CapSolver.com package for Python
CapSolver.com package for Python3
Register now from here.
If you have any problem with usage, read the documentation or create an issue
Installation
pip install capsolver_python
Supported captcha types
- Image to Text
- Recaptcha V2
- Recaptcha V2 Enterprise
- Recaptcha V3
- FunCaptcha
- HCaptcha
- GeeTest
- AntiAkamaiBMP
- HCaptcha Classification
- DataDome Slider
- FunCaptcha Classification
Usage examples
ImageToText
from capsolver_python import ImageToTextTask
capsolver = ImageToTextTask("API_KEY")
task_id = capsolver.create_task(image_path="img.png")
result = capsolver.join_task_result(task_id)
print(result.get("text"))
Recaptcha v2
from capsolver_python import RecaptchaV2Task
capsolver = RecaptchaV2Task("API_KEY")
task_id = capsolver.create_task("website_url", "website_key")
result = capsolver.join_task_result(task_id)
print(result.get("gRecaptchaResponse"))
Recaptcha v2 enterprise
from capsolver_python import RecaptchaV2EnterpriseTask
capsolver = RecaptchaV2EnterpriseTask("API_KEY")
task_id = capsolver.create_task("website_url", "website_key", {"s": "payload value"}, "api_domain")
result = capsolver.join_task_result(task_id)
print(result.get("gRecaptchaResponse"))
GeeTest
from capsolver_python import GeeTestTask
capsolver = GeeTestTask("API_KEY")
task_id = capsolver.create_task("website_url", "gt", "challenge")
result= capsolver.join_task_result(task_id)
print(result.get("challenge"))
print(result.get("seccode"))
print(result.get("validate"))
For other examples and api documentation please visit wiki
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
capsolver_python-1.0.tar.gz
(8.7 kB
view details)
Built Distribution
File details
Details for the file capsolver_python-1.0.tar.gz
.
File metadata
- Download URL: capsolver_python-1.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f4640c0dc305c549f94ead748341b9ddc29953a3821959fb38e812cd7ae75f |
|
MD5 | 8d03be8464a34d6bfefec08cc6b5daab |
|
BLAKE2b-256 | 91802962d38766ec0f63ba9a670b5088c28730576fc1e6cc0341f8c727b317e0 |
File details
Details for the file capsolver_python-1.0-py3-none-any.whl
.
File metadata
- Download URL: capsolver_python-1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545db4945b4c0ef33509cdb8b32ac7220055aebb3b25ff2bc77245973dba2c2e |
|
MD5 | 5d7f99e71914e68fda34efba37d2b612 |
|
BLAKE2b-256 | 58283e54b328e4ade56ba6a19c7d4724679b025d61fde421a4c526fa5caf4698 |