simple anti captcha library
Project description
anticaptcha
=========
Simple anticaptcha library for images with text.
>>> pip install anticaptcha
.. code:: python
from anticaptcha import Anticaptcha
ac = Anticaptcha('API_TOKEN')
with open('captcha.png', 'rb') as img:
response = ac.createTask(img.read())
task_id = response['taskId']
result = ac.getTaskResult(task_id)
solution = result['solution']['text']
Test with: python -m pytest
=========
Simple anticaptcha library for images with text.
>>> pip install anticaptcha
.. code:: python
from anticaptcha import Anticaptcha
ac = Anticaptcha('API_TOKEN')
with open('captcha.png', 'rb') as img:
response = ac.createTask(img.read())
task_id = response['taskId']
result = ac.getTaskResult(task_id)
solution = result['solution']['text']
Test with: python -m pytest
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
anticaptcha-0.0.1.tar.gz
(2.7 kB
view hashes)