Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

captchaly/captchaly-python-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This Repository Is Outdated

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 Python Module

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.

Installation

You can install the Captchaly Python Module with Pip:

pip install captchaly

Usage

First, 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)

Solve captcha

reCAPTCHA v2

token = api.recaptchav2(website_url="...", website_key="...")

reCAPTCHA v3

token = api.recaptchav3(website_url="...", website_key="...", page_action="...", fast="OPTIONAL")

Turnstile

token = api.turnstile(website_url="...", website_key="...", page_action="...", website_cdata="OPTIONAL")

hCaptcha

token = api.hcaptcha(website_url="...", website_key="...", proxy_type="OPTIONAL", proxy_address="OPTIONAL", proxy_port="OPTIONAL", proxy_login="OPTIONAL", proxy_password="OPTIONAL")

hCaptcha Enterprise

token = api.hcaptcha_enterprise(website_url="...", website_key="...", proxy_type="OPTIONAL", proxy_address="OPTIONAL", proxy_port="OPTIONAL", proxy_login="OPTIONAL", proxy_password="OPTIONAL")

GeeTest v4

token = api.geetestv4(website_url="...", website_captcha_id="...")

Error Handling

When any error happens, it will return the description of the error as an string.

Contributing

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!

License

This project is licensed under the MIT License. For more information, please see the LICENSE file.

About

Python library for captchaly API, unnofficially made by me.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages