Skip to content
This repository was archived by the owner on Mar 5, 2021. It is now read-only.

Commit 33b1e94

Browse files
added captcha image and example
1 parent d6cdfde commit 33b1e94

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

captcha.jpg

2.33 KB
Loading

main.py

+7
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ def test_api():
1818
balance = ita.account_balance() # get account balance
1919
print 'Balance: {}'.format(balance) # print balance
2020

21+
# solve image captcha
22+
# --------------------
23+
# works with URL as well, if authenticated with token
24+
print 'Solving captcha ...'
25+
captcha_text = ita.solve_captcha('captcha.jpg')
26+
print 'Captcha text: {}'.format(captcha_text)
27+
2128
# solve recaptcha
2229
# check: http://www.imagetyperz.com/Forms/recaptchaapi.aspx on how to get page_url and googlekey
2330
# -----------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)