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

为蓝奏云添加账号密码登录 #4880

Closed
4 tasks done
Kx-Y opened this issue Jul 31, 2023 · 3 comments · Fixed by #4885
Closed
4 tasks done

为蓝奏云添加账号密码登录 #4880

Kx-Y opened this issue Jul 31, 2023 · 3 comments · Fixed by #4885
Labels
enhancement New feature or request
Milestone

Comments

@Kx-Y
Copy link
Contributor

Kx-Y commented Jul 31, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

添加用账号密码登陆的方式
因为我不会go语言,所以只能提个issue,期待各位大佬帮我实现
使用cookie登录,会存在过期的情况,而用账号密码登录,可以解决这个问题

Suggested solution / 实现思路

https://up.woozooo.com/mlogin.php
post以下数据
“task=3&uid=” + 用户名 + “&pwd=” + 密码 + “&setSessionId=&setSig=&setScene=&setTocen=&formhash=”

所返回的cookie即为登录所需cookie
期待各位大佬帮我在alist中实现它

Additional context / 附件

No response

@Kx-Y Kx-Y added the enhancement New feature or request label Jul 31, 2023
@welcome
Copy link

welcome bot commented Jul 31, 2023

Thanks for opening your first issue here! Be sure to follow the issue template!

@Kx-Y
Copy link
Contributor Author

Kx-Y commented Jul 31, 2023

对了,这种方式无需验证码,我也不知道为什么,但就是可以
是在翻易语言的代码时发现的
image
以上是在易语言中实现的代码的截图,希望对大佬有帮助

@Kx-Y
Copy link
Contributor Author

Kx-Y commented Jul 31, 2023

这里的UA是这个
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
referer: https://www.lanzouu.com/

@xhofe xhofe added the working In process label Aug 1, 2023
@github-actions github-actions bot removed the working In process label Aug 1, 2023
@xhofe xhofe added this to the v3.25.0 milestone Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants