Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error getting verify code #4

Open
yeren1989 opened this issue Oct 14, 2014 · 1 comment
Open

error getting verify code #4

yeren1989 opened this issue Oct 14, 2014 · 1 comment

Comments

@yeren1989
Copy link
Contributor

req = urllib2.Request('https://passport.baidu.com/v2/api/?logincheck&tpl=mn&charset=UTF-8&index=0&username=%s&time=%s' % (self.username, timestamp()))
data = self._opener.open(req).read().strip()[1:-1] # remove brackets

===>this returns:
{"errno":0,"codestring":null,"index":"0"}

therefore, we cannot get correct verify code pic.

@andelf
Copy link
Owner

andelf commented Oct 20, 2014

baidu passport has switch to a new login verification method.
So the login part should be rewriten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants