andelf / andelf/webhi

error getting verify code

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
33
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.