Universal API to captcha solving services
Project description
==============
Captcha Solver
==============
.. image:: https://travis-ci.org/lorien/captcha_solver.png?branch=master
:target: https://travis-ci.org/lorien/captcha_solver?branch=master
.. image:: https://coveralls.io/repos/lorien/captcha_solver/badge.svg?branch=master
:target: https://coveralls.io/r/lorien/captcha_solver?branch=master
Univeral API to captcha solving services.
Installation
============
.. code:: bash
pip install captcha-solver
Browser Backend Example
=======================
.. code:: python
from captcha_solver import CaptchaSolver
solver = CaptchaSolver('browser')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))
Antigate Backend Example
========================
.. code:: python
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))
Rucaptcha Backend Example
========================
.. code:: python
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))
Captcha Solver
==============
.. image:: https://travis-ci.org/lorien/captcha_solver.png?branch=master
:target: https://travis-ci.org/lorien/captcha_solver?branch=master
.. image:: https://coveralls.io/repos/lorien/captcha_solver/badge.svg?branch=master
:target: https://coveralls.io/r/lorien/captcha_solver?branch=master
Univeral API to captcha solving services.
Installation
============
.. code:: bash
pip install captcha-solver
Browser Backend Example
=======================
.. code:: python
from captcha_solver import CaptchaSolver
solver = CaptchaSolver('browser')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))
Antigate Backend Example
========================
.. code:: python
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))
Rucaptcha Backend Example
========================
.. code:: python
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))
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(6.2 kB
view details)
File details
Details for the file captcha-solver-0.1.1.tar.gz
.
File metadata
- Download URL: captcha-solver-0.1.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e1991d7ad4edc6336a597c123c48ece64344ad5e699ae2c90f093f2245db6d7 |
|
MD5 | 53dfadbf4b979293f99c27267622e680 |
|
BLAKE2b-256 | fb4c525b0d3927e94a3422a8539f80b5387463704a5fedee6b1255c7b7e09b90 |