We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
baidu passport has switch to a new login verification method. So the login part should be rewriten
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: