nikoladang/2captcha

#1
2Captcha team solves your CAPTCHA with high accuracy

How to install?
pip
pip install captcha2

Source
Code:
git clone https://github.com/nikoladang/captcha2.git
cd captcha2
python setup.py install
How to start?
Register Here And get the api key:

  • Login in your account
  • Go to "2Captcha API"
  • Get "CAPTCHA Key"
Example
Solve Captcha
Code:
from captcha2 import CaptchaUpload

captcha = CaptchaUpload(<YOURKEY>)
print captcha.solve(<PATHFILE>)
Get balance
Code:
from captcha2 import CaptchaUpload

captcha = CaptchaUpload(<YOURKEY>)
print captcha.getbalance()
Attach the logs
Code:
from captcha2 import CaptchaUpload

captcha = CaptchaUpload(<YOURKEY>, log=<YOURLOGVAR>)
print captcha.getbalance()
Change Wait Time
Code:
from captcha2 import CaptchaUpload

captcha = CaptchaUpload(<YOURKEY>, waittime=<YOURLOGVAR>)
print captcha.solve(<PATHFILE>)