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

邮箱登陆,发送邮件验证码 有问题了,如果是手机验证码应该也一样。 #15

Closed
24 opened this issue Jan 6, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@24
Copy link

24 commented Jan 6, 2021

调用到 baidu-login 的地方,

func (lj *LoginJSON) parsePhoneAndEmail(bc *BaiduClient) {

从 GotoURL 里面已经获取不到Token了。但是有个ltoken。

如果把这个ltoken 当作token 传递下去,能得到已发送验证码,但是收不到验证码。

我不太这个登陆流程。

@qjfoidnh 看看呢? :)

@qjfoidnh qjfoidnh added bug Something isn't working help wanted Extra attention is needed labels Jan 6, 2021
@qjfoidnh
Copy link
Owner

qjfoidnh commented Jan 9, 2021

Login接口变化比较大,而且不唯一了。
目前已经可以接收手机/邮箱验证码,可能需要更多测试;另一个问题就是验证完成后还需要进行两次图片验证码,否则无法获取到正确的stoken

@24
Copy link
Author

24 commented Jan 9, 2021

如果后面还改,那还不如废弃掉算了。用cookie 登陆更省事

@24 24 closed this as completed Jan 9, 2021
@qjfoidnh qjfoidnh removed the help wanted Extra attention is needed label Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants