This repository was created as version 1.0.0 Python SDK for Captchaly.com, created by @heav33n.
An official SDK is now available and is actively maintained at https://github.com/captchaly/captchaly-python with more features and intergrations.
Thank you to heav33n for creating this repo.
Captchaly is a fast, reliable, and affordable CAPTCHA solving with a powerful API. Ensure seamless automation and efficiency while we handle the challenges.
This SDK is made by myself, expect bugs. I don't maintain this often.
You can install the Captchaly Python Module with Pip:
pip install captchalyFirst, obtain the API Key from the dashboard in the Captchaly Official Website dashboard. Then, create a Captchaly instance:
from captchaly import CaptchalyAPI
api = CaptchalyAPI(client_api="YOUR_API_KEY")
# You can also disable the logs:
# api = CaptchalyAPI(client_api="YOUR_API_KEY", open_log=False)token = api.recaptchav2(website_url="...", website_key="...")token = api.recaptchav3(website_url="...", website_key="...", page_action="...", fast="OPTIONAL")token = api.turnstile(website_url="...", website_key="...", page_action="...", website_cdata="OPTIONAL")token = api.hcaptcha(website_url="...", website_key="...", proxy_type="OPTIONAL", proxy_address="OPTIONAL", proxy_port="OPTIONAL", proxy_login="OPTIONAL", proxy_password="OPTIONAL")token = api.hcaptcha_enterprise(website_url="...", website_key="...", proxy_type="OPTIONAL", proxy_address="OPTIONAL", proxy_port="OPTIONAL", proxy_login="OPTIONAL", proxy_password="OPTIONAL")token = api.geetestv4(website_url="...", website_captcha_id="...")When any error happens, it will return the description of the error as an string.
If you find any bugs or have suggestions for improvement, please feel free to submit an issue or send a pull request. I welcome all contributions!
This project is licensed under the MIT License. For more information, please see the LICENSE file.