We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
鉴于阿里云盘普通用户大幅限速,可以考虑使用阿里的pds服务获取cdn直链来提速
api参考这里 具体思路如下: 修改下面这个api接口
alist/drivers/aliyundrive/driver.go
Line 109 in 29fe49f
关于cdn直链为空的情况,我这边测试了一下,只要使用普通直链下载一次,再次请求即可拿到cdn_url
No response
The text was updated successfully, but these errors were encountered:
支持,希望能尽快pr合并
Sorry, something went wrong.
pr已提,#6645
No branches or pull requests
Please make sure of the following things
Description of the feature / 需求描述
鉴于阿里云盘普通用户大幅限速,可以考虑使用阿里的pds服务获取cdn直链来提速
Suggested solution / 实现思路
api参考这里
具体思路如下:
修改下面这个api接口
alist/drivers/aliyundrive/driver.go
Line 109 in 29fe49f
将请求api从"https://api.alipan.com/v2/file/get_download_url" 修改为:"https://bj29.api.aliyunpds.com/v2/file/get_download_url"
该接口会返回一个cdn_url
这个链接下载至少10MB/s(我这边路由器原因,瓶颈了)
当然,这个接口有时返回的cdn_url为空(可能是冷门资源,没下载过),但一定会返回一个普通的直链url,业务上可以先尝试获取cdn_url,不行就用普通直链,兼容一下即可
Additional context / 附件
No response
The text was updated successfully, but these errors were encountered: