Skip to content

trapplestar/anycaptcha-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

website : anycaptcha.com

  • solver recaptchaV2, recaptchaV3, hcaptcha, funcaptcha, imageToTexxt ,Zalo Captcha, .... Super fast and cheapest.

  • Install library :

    cd anycaptcha-python
    pip install -e .
    
  • read demo.py to know how to use the library

Example : solver recaptcha v2:

url = "https://www.google.com/recaptcha/api2/demo"
site_key = "6Lc9qjcUAAAAADTnJq5kJMjN9aD1lxpRLMnCS2TR"
api_key = "YOURAPIKEY"
client = AnycaptchaClient(api_key)
is_invisible=True
task = RecaptchaV2TaskProxyless(website_url=url, website_key=site_key,is_invisible=is_invisible)
job = client.createTask(task)
job.join(maximum_time=120)
result=job.get_solution_response()
if result.find("ERROR") != -1:
    print("fail ",result)
else:
    print("success ",result)

Example : solver hcaptcha :

url = "https://www.calhospitalprepare.org"
site_key = "ca915d64-b987-4026-be6c-93cdaa26ad50"
api_key = "YOURAPIKEY"
client = AnycaptchaClient(api_key)
t1 = time.time()
task = HCaptchaTaskProxyless(website_url=url, website_key=site_key)

job = client.createTask(task)
t1 = time.time()
job.join()
result = job.get_solution_response()
if result.find("ERROR") != -1:
    print("fail ",result)
else:
    print("success ",result)

Example solver zaloCaptcha pi_key = "YOURAPIKEY"

client = AnycaptchaClient(api_key)

task = ZaloTask()

job = client.createTask(task)

job.join()

result = job.get_solution_response()

if result.find("ERROR") != -1:

    print("error ", result)
    
else:

    print("success ", result)

About

Access to AnyCaptcha API via Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%