Hi all,
I'm writting an IM app with python. I got to the point where I could login, get a session id. But after awhile I got the CaptchaRequire error.
'Error': 'CaptchaRequired\nErrorDescription=Captcha is required\nCaptchaUrl=http://ab.login.yahoo.com/img/sHZv0uJZFemYHnVu.6VOnzQDE0bSQ14yYJ7O.Pc.TZTiJMUfiyxTOEHB7lmU1ZY0NuucJATGeb6sNp5Z
iCwguaJQorcxN4twc.8KPt3BdS3hyFclqNWIdlH2V.ZRWAMZH5_Z6NaYaL7Ioq6YlOdj5aVORR4OT.vcb
doPwhY-.jpg\nCaptchaData=sHZv0uJZFemYHnVu.6VOnzQDE0bSQ14yYJ7O.Pc.TZTiJMUfiyxTOEHB7lmU1ZY
0NuucJATGeb6sNp5ZiCwguaJQorcxN4twc.8KPt3BdS3hyFclqNWIdlH2V.ZRWAMZH5_Z6NaYaL7Ioq6Y
lOdj5aVORR4OT.vcbdoPwhY-\n'}
How can I fix this?
Curiously, copy-pasting the url into a browser works (got a RequestToken), but doing a urllib.urlopen() in python produces the captcha error. (https://login.yahoo.com/WSLogin/V1/get_auth_token&login=my_login&passwd=my_pwd&oauth_consumer_key=my_key)
Thanks!!
by
1 Reply