CapSolver.com library for Python
Project description
CapSolver.com Python Package
CapSolver.com Package for Python
Register For an Account here: You Get Free Balance!
Installation
pip install CapSolverPy
Supported Tasks
- hCaptcha - HCaptchaTask, HCaptchaTaskProxyLess, HCaptchaEnterpriseTask, HCaptchaEnterpriseTaskProxyLess, HCaptchaTurboTask
- reCaptchaV2 - ReCaptchaV2Task, ReCaptchaV2TaskProxyLess, ReCaptchaV2EnterpriseTask, ReCaptchaV2EnterpriseTaskProxyLess
- reCaptchaV3 - ReCaptchaV3Task, ReCaptchaV3TaskProxyLess, ReCaptchaV3EnterpriseTask, ReCaptchaV3EnterpriseTaskProxyLess
- FunCaptcha - FunCaptchaTask, FunCaptchaTaskProxyless
- MtCaptcha - MtCaptchaTask, MtCaptchaTaskProxyless
- Cloudflare - Turnstile
- Cloudflare - IUAM/UAM Challenge
Usage Examples
hCaptcha - HCaptchaTaskProxyLess
from CapSolver import CapSolver
SolveCaptcha = CapSolver("API-KEY")
Captcha = SolveCaptcha.solve({"task": {"type": "HcaptchaTaskProxyless", "websiteKey": "a5f74b19-9e45-40e0-b45d-47ff91b7a6c2","websiteURL": "https://accounts.hcaptcha.com/demo"}})
print(Captcha)
ReCaptchaV2 - ReCaptchaV2TaskProxyLess
from CapSolver import CapSolver
SolveCaptcha = CapSolver("API-KEY")
Captcha = SolveCaptcha.solve({"task": {"type": "ReCaptchaV2TaskProxyLess", "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-","websiteURL": "https://www.google.com/recaptcha/api2/demo"}})
print(Captcha)
ReCaptchaV3 - ReCaptchaV3TaskProxyLess
from CapSolver import CapSolver
SolveCaptcha = CapSolver("API-KEY")
Captcha = SolveCaptcha.solve({"task": {"type": "ReCaptchaV3TaskProxyLess", "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-","websiteURL": "https://www.google.com/recaptcha/api2/demo", "pageAction": "login", minScore": 0.7}})
print(Captcha)
FunCaptcha - FunCaptchaTaskProxyLess
from CapSolver import CapSolver
SolveCaptcha = CapSolver("API-KEY")
Captcha = SolveCaptcha.solve({"task": {"type": "FunCaptchaTaskProxyLess", "websitePublicKey": "","websiteURL": ""}})
print(Captcha)
Cloudflare - Turnstile
from CapSolver import CapSolver
SolveCaptcha = CapSolver("API-KEY")
SolvedToken = SolveCaptcha.solve({"task": {"type": "AntiCloudflareTask", "websiteURL": "https://peet.ws/turnstile-test/non-interactive.html","websiteKey": "0x4AAAAAAABS7vwvV6VFfMcD", "metadata": {"type": "turnstile"}, "proxy": "user:pass@ip:port"}})
print(SolvedToken)
Cloudflare - Challenge
from CapSolver import CapSolver
SolveCaptcha = CapSolver("API-KEY")
SolvedToken = SolveCaptcha.solve({"task": {"type": "AntiCloudflareTask", "websiteURL": "https://minecraftpocket-servers.com/login/", "html": "<your challenge html source code>", "metadata": {"type": "challenge"}, "proxy": "user:pass@ip:port"}})
print(SolvedToken)
For More Information on these Tasks, please visit CapSolver docs. There are a list of tasks you can do with this library
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
CapSolverpy-1.0.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file CapSolverpy-1.0.tar.gz
.
File metadata
- Download URL: CapSolverpy-1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80666ef4bd2d35c138525af928389d4817289780ea62de64f5df7c3ca6dcd886 |
|
MD5 | 541dba6f82d0574ede24d4b40e218d7a |
|
BLAKE2b-256 | 0c1ac215f171603df423516008f2c847d0209dffd40196b59c4c08ba4cd454d5 |
File details
Details for the file CapSolverpy-1.0-py3-none-any.whl
.
File metadata
- Download URL: CapSolverpy-1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 102a6992f2e6c3077ffabfe49fcaf6d5ecb3e040480511bf09b963aa0cf17a6a |
|
MD5 | e6b1ba5798dc10eb2929152bffb8f169 |
|
BLAKE2b-256 | 3ddbc3140c80083f5ba501c79a4b5d1ff88a5449d96e184dc17f8dda5c948564 |