onedrive获取外链
1 进入后台,获取共享链接
https://onedrive.live.com/redir?resid=xxxxxxxxxxx
2 复制resid的值xxxxxxxx, 这就是真实的用户ID和文件的ID
3 替换关键部分
http://storage.live.com/items/用户和文件地址?filename=完整的文件名
GoogleDrive获取直链 [国内需要翻墙]
1 获取共享链接中间的字符串(最长的是文件ID)
https://docs.google.com/file/d/0B8aKlt3ADLRoeURpZ21BTnBhdDQ/edit?usp=sharing
2 替换关键部分
https://drive.google.com/uc?export=download&id=文件ID https://drive.google.com/uc?export=view&id=文件ID
此处评论已关闭