Skip to main content

Universal API to captcha solving services

Project description

https://travis-ci.org/lorien/captcha_solver.png?branch=master https://coveralls.io/repos/lorien/captcha_solver/badge.svg?branch=master

Univeral API to captcha solving services.

Installation

pip install captcha-solver

Twocaptcha Backend Example

Service website is https://2captcha.com

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('twocaptcha', api_key='2captcha.com API HERE')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Rucaptcha Backend Example

Service website is https://rucaptcha.com

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('rucaptcha', api_key='RUCAPTCHA_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Browser Backend Example

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('browser')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

Antigate Backend Example

Service website is https://anti-captcha.com

from captcha_solver import CaptchaSolver

solver = CaptchaSolver('antigate', api_key='ANTIGATE_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))

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

captcha-solver-0.1.2.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file captcha-solver-0.1.2.tar.gz.

File metadata

  • Download URL: captcha-solver-0.1.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for captcha-solver-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0625dbf8ca57764418cd3f298d7ba84b7a9535ce58301cf1f5a1e40e730d3689
MD5 a7ad64f650a247203cab7b82b832b564
BLAKE2b-256 eec02c99fc0308d2d34df53fa9bce8e613473b496dfb2b224dac9571a926ebf5

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