-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
阿里云盘下载优先使用cdn直链 #6645
base: main
Are you sure you want to change the base?
阿里云盘下载优先使用cdn直链 #6645
Conversation
Thanks for opening this pull request! Please check out our contributing guidelines. |
大佬有暂时可用的docker容器可用么 |
啥意思,没理解啊 |
pr一直没合并啊 docker没有新映像 |
@@ -106,17 +106,26 @@ func (d *AliDrive) Link(ctx context.Context, file model.Obj, args model.LinkArgs | |||
"file_id": file.GetID(), | |||
"expire_sec": 14400, | |||
} | |||
res, err, _ := d.request("https://api.alipan.com/v2/file/get_download_url", http.MethodPost, func(req *resty.Request) { | |||
res, err, _ := d.request("https://bj29.api.aliyunpds.com/v2/file/get_download_url", http.MethodPost, func(req *resty.Request) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replacing the official url with a third-party one is never a good practice. Alipan official could change this url anytime, and then many user will have trouble use this driver.
please put this url as an option if this can provide acceleration benefit.
新增功能:
关联issue:#6644