直接下载链接到OneDrive文件? [英] Direct download link to OneDrive file?
问题描述
一个OneDrive可共享链接如下所示:> https://1drv.ms/w/s!AqmFiI7maXrRgT7PGcKC <7JyZ /a>.我如何获得此的直接下载链接版本?我知道可以通过onedrive.live/redir?< ...>链接将'redir'替换为'download',但是对于上面的链接,我该怎么做呢?谢谢.
A OneDrive sharable link looks like this: https://1drv.ms/w/s!AqmFiI7maXrRgT7PGcK_7JyZlBco. How do I get the direct download link version of this? I know with a onedrive.live/redir?<...> link I can just replace the 'redir' with 'download', but how do I do that for a link that looks like the one above? Thanks.
推荐答案
If you follow the instruction here you can generate a URL that will act on the shared item, including being able to get its content.
在您的情况下,URL看起来像 api.onedrive.com/v1.0/shares/u!aHR0cHM6Ly8xZHJ2Lm1zL3cvcyFBcW1GaUk3bWFYclJnVDdQR2NLXzdKeVpsQmNv/root/content
In your case the URL would look like https://api.onedrive.com/v1.0/shares/u!aHR0cHM6Ly8xZHJ2Lm1zL3cvcyFBcW1GaUk3bWFYclJnVDdQR2NLXzdKeVpsQmNv/root/content
这篇关于直接下载链接到OneDrive文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!