alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
41.91k stars 5.41k forks source link

pikpak auto login captcha 关于pikpak自动登陆 #7106

Closed wangjunkai2022 closed 2 weeks ago

wangjunkai2022 commented 2 weeks ago

Please make sure of the following things

Description of the feature / 需求描述

我这边写了一个 服务器的api 用于获取apikpak滑块验证的url get请求传入pikpak https://user.mypikpak.com/v1/shield/captcha/init 返回的 url 获取验证后的captcha_token的api

get请求需要穿入的内容是: localhost/api/login?url=这里写pikpak验证地址

返回json数据为 { 'url_received': url, #这里是传给api的url 'token':""', # 这里是经过验证的api "code": 200, #状态200 表示成功 -1表示失败 } 希望在pikpak存储中增加填写localhost的域名或网站地址用于自动验证获取captcha_token

Suggested solution / 实现思路

No response

Additional context / 附件

No response

welcome[bot] commented 2 weeks ago

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

wangjunkai2022 commented 2 weeks ago

自己已经完成一版 #7108