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

Master #49

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Master #49

wants to merge 9 commits into from

Conversation

talkxin
Copy link

@talkxin talkxin commented Feb 22, 2017

兼容python3,同时修复了登录时需要重复输入验证码,并且10分钟以后即实效的bug

@ly0
Copy link
Owner

ly0 commented Feb 22, 2017

你好,有冲突,请先合并一下master分支的内容 :)

@talkxin
Copy link
Author

talkxin commented Feb 22, 2017 via email

foo = json.loads(ret)
logging.debug('token %s' % foo['data']['token'])
'https://passport.baidu.com/v2/api/?getapi&tpl=netdisk'
'&apiver=v3&tt={}&class=login&logintype=basicLogin'.format(int(time.time())))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好久没写python了, 第一次见这种一个字符串拆成两个的写法! 👍

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有的,太长的话可以切成两行

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

Successfully merging this pull request may close these issues.

3 participants