captchakiller-python
Installation
pip install captchakiller-python
Usage
Import the CaptchaKiller class
from captchakiller import CaptchaKiller
Set your credentials
captcha_killer = CaptchaKiller("API_KEY") # Optionally add partner id and/or timeout
Use the captcha_killer object
Get balance
response = captcha_killer.getbalance()
if response['success']:
print("Balance: " + response["balance"])
else:
print("Error: " + str(response["errorId"]) + " - " + response["error"])
Solve ReCaptcha V2
"""
REQUIRED - sitekey: 6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9 // Recaptcha v2 challenge site key
REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v2 challenge page URL
OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default
OPTIONAL - invisible: false // If the Recaptcha is invisible, false by default
OPTIONAL - payload: 3Zky78k550-A2.... // The s parameter in the anchor request
OPTIONAL - proxytype: HTTP // Your proxy type (HTTP, SOCKS4, SOCKS5)
OPTIONAL - proxyaddress: 127.0.0.1 // Your proxy address
OPTIONAL - proxyport: 8080 // Your proxy port
OPTIONAL - proxyuser: user // Your proxy login (if required)
OPTIONAL - proxypass: pass // Your proxy password (if required)
"""
response = captcha_killer.recaptcha_v2("sitekey", "site")
if response['success']:
print("Captcha solved: " + response["result"])
else:
print("Error: " + str(response["errorId"]) + " - " + response["error"])
Solve ReCaptcha V2 Enterprise
"""
REQUIRED - sitekey: 6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9 // Recaptcha v2 challenge site key
REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v2 challenge page URL
OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default
OPTIONAL - invisible: false // If the Recaptcha is invisible, false by default
OPTIONAL - payload: 3Zky78k550-A2.... // The s parameter in the anchor request
OPTIONAL - action: Default // The sa parameter in the anchor request
OPTIONAL - proxytype: HTTP // Your proxy type (HTTP, SOCKS4, SOCKS5)
OPTIONAL - proxyaddress: 127.0.0.1 // Your proxy address
OPTIONAL - proxyport: 8080 // Your proxy port
OPTIONAL - proxyuser: user // Your proxy login (if required)
OPTIONAL - proxypass: pass // Your proxy password (if required)
"""
response = captcha_killer.recaptcha_v2_enterprise("sitekey", "site")
if response['success']:
print("Captcha solved: " + response["result"])
else:
print("Error: " + str(response["errorId"]) + " - " + response["error"])
Solve ReCaptcha V3 Low Score
"""
REQUIRED - sitekey: 6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 // Recaptcha v3 challenge site key
REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v3 challenge page URL
REQUIRED - action: examples/v3scores // Recaptcha v3 site action, if not known, try "homepage", "submit", "verify", "register", or "login"
OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default
"""
response = captcha_killer.recaptcha_v2_enterprise("sitekey", "site", "action")
if response['success']:
print("Captcha solved: " + response["result"])
else:
print("Error: " + str(response["errorId"]) + " - " + response["error"])
Solve Funcaptcha / Arkoselabs
"""
REQUIRED - publickey: DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6 // Public key of the FunCaptcha challeng
REQUIRED - site: https://demo.arkoselabs.com // URL of the website where the FunCaptcha challenge is located
OPTIONAL - surl: https://client-api.arkoselabs.com // URL of the Arkose Labs API server
OPTIONAL - datatype: blob // Data type of the data sent in the challenge
OPTIONAL - data: ENsYWf9hLu6E5oSTcPby1t8iK4TCZgv... // Data sent in the challenge
"""
response = captcha_killer.recaptcha_v2_enterprise("publickey", "site")
if response['success']:
print("Captcha solved: " + response["result"])
else:
print("Error: " + str(response["errorId"]) + " - " + response["error"])
Solve MTCaptcha
"""
REQUIRED - sitekey: MTPublic-DemoKey9M // MTCaptcha site key, always contains MTPublic
REQUIRED - site: https://service.mtcaptcha.com // URL of the site that contains the MTCaptcha
OPTIONAL - action: login // MTCaptcha action that is inside of the getchallenge.json request (act parameter)
"""
response = captcha_killer.mtcaptcha("MTPublic-DemoKey9M", "https://service.mtcaptcha.com")
if response['success']:
print("Captcha solved: " + response["result"])
else:
print("Error: " + str(response["errorId"]) + " - " + response["error"])
Metadata
Release files for captchakiller-python 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| captchakiller_python-0.0.8.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| captchakiller_python-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / captchakiller_python-0.0.8.tar.gz
| Download URL | captchakiller_python-0.0.8.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
854f660bfaa11dbc7621fbe408331d292d5424acadad52b89fe96490cbb42796
|
|
BLAKE2b-256 checksum How to use checksums |
0003fcf70a6796340f5043e3a9d82b513493d68792ac698aa0b3135a2b3b2f54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / captchakiller_python-0.0.8-py3-none-any.whl
| Download URL | captchakiller_python-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc49d05037b185141e46ce3488f1bb41140aa6e5b189288090fc0990d0f982f9
|
|
BLAKE2b-256 checksum How to use checksums |
15a04982c5db7588e1adb96fd02371ee15cb6063a94f77d02d5b08aa452e5f9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|