fix(pikpak): modify the processing logic of CaptchaToken #7024
+196
−88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
改动
被风控后的滑动验证地址
CaptchaToken
的处理逻辑Link
函数的部分参数DisableMediaLink
选项将默认开启————可以避免出现 pikpak api接口问题 #4735 的问题进度显示
client_id
、client_secret
字段DeviceID
字段Platform
选择项:可选android
、web
Web
端的ClientID
、ClientSecret
、ClientVersion
、PackageName
、WebAlgorithms
部分参数解释
Username
:登录邮箱Password
:登录密码Platform
:选择 登录平台:安卓(android)| 网页(web)Refresh token
:刷新令牌——手动填写后则无需填入账号密码登录(最好还是填一下),需抓包获取或登录后自动填入Captcha token
:验证码令牌——仅需要在触发风控时填写,具体获取方式见下文Device id
:设备ID——一般情况下无需修改,根据Username
和Password
字段的内容进行生成Disable media link
:禁用媒体链接——关闭后将使用媒体地址,可能出现无法访问非媒体文件的情况部分问题说明
Click Here
提示:invalid refresh token for it may be has been refreshed by other process, more info redis: nil
Web端 Refresh token
的获取:Platform
选择问题:部分已知问题
temp文件夹
,在使用Stream
方式上传时可能会遇到问题,可改用Form
方式上传或者手动建立该文件夹,位于data/temp
更新
oauth2
方式来进行令牌的刷新Refresh token
以及DeviceID
的生成Your operation is too frequent, please try again later
问题时,请尝试在官方网页版
或官方安卓端APP
使用第三方授权(例如:谷歌授权登录)进行登录,之后获取Refresh token
进行挂载————注意 此时Platform
的选用