Skip to main content

Python module for easy integration with AiCaptcha API

Project description

AiCaptcha

Python library for solving various types of captcha including Hcaptcha, ReCaptchaV3(enterprise/normal), ObjectRecognition and Audio.

Installation

To install the library, simply run the following command:

pip install aicaptcha

Usage

To use the library, import the AiCaptcha class from the aicaptcha module, create an instance of the class with your API key, and call the appropriate method to solve the captcha.

Here's an example:

from aicaptcha import AiCaptcha

api_key = "your_api_key_here"
solver = AiCaptcha(api_key)

# Solve an Hcaptcha
hcaptcha_result = solver.Hcaptcha(site_key="hcaptcha_site_key_here", page_url="hcaptcha_page_url_here", user_agent="your_user_agent_here")
print(hcaptcha_result.token)
print(hcaptcha_result.key)

# Solve a ReCaptchaV3 (enterprise/normal)
recaptchav3_result = solver.ReCaptchaV3(type="recaptchav3_type(enterprise/normal)", site_key="recaptchav3_site_key_here", page_url="recaptchav3_page_url_here", action="recaptchav3_action_here")
print(recaptchav3_result.token)

# Solve a audio captcha
audio_captcha_result = solver.Audio(audio="audio_filename_or_content_or_url", numbers_sensitivity=False)
print(audio_captcha_result.text)
print(audio_captcha_result.confidence)

# Solve the captcha specifying the name of the objects
object_recognition_captcha_result = solver.ObjectRecognition(image="image_filename_or_content_or_url", max_results=5)
print(object_recognition_captcha_result.results)

Channel

Telegram : AiCaptcha

Support

Telegram : support
for free trial contact support.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aicaptcha-1.0.4.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

aicaptcha-1.0.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file aicaptcha-1.0.4.tar.gz.

File metadata

  • Download URL: aicaptcha-1.0.4.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for aicaptcha-1.0.4.tar.gz
Algorithm Hash digest
SHA256 7b7c11e0d8e75976ace19f4cd7027df0e204a6a0fc7de05b2e53abd3e07f5bd7
MD5 b9d071b4bc471fff6bca3608857bad50
BLAKE2b-256 ca55f53c61407d287930ba77f1356321adba69ce9a541263558f6884fa8e0aec

See more details on using hashes here.

File details

Details for the file aicaptcha-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: aicaptcha-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for aicaptcha-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9787ec878ceae92a6fbee6b169d38ea061bd036fb73d63e9c1cc27c7dbb5f09
MD5 b86e0b2192adf896744e966c03fab095
BLAKE2b-256 a2b9a07da890fc1d566968b16da3bbb2a137f15a0d1a72920920acebd0739d56

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page