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

使用 /file/get_download_url 获取的下载直链有效期长达四个小时 #25

Closed
122cygf opened this issue Feb 25, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@122cygf
Copy link

122cygf commented Feb 25, 2021

在网页版点击下载之后,可以抓到 https://api.aliyundrive.com/v2/file/get_download_url 包,post参数中 expire_sec 可以设置为14400即四个小时,而通过原先的 /file/get 获取到的直链只有15分钟有效期,有效期越长,对于大文件下载越友好。

@xhofe xhofe added the enhancement New feature or request label Feb 26, 2021
@xhofe xhofe closed this as completed Feb 26, 2021
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

No branches or pull requests

2 participants