安装:
- 安装 Tampermonkey Beta脚本 安装地址
- 安装油猴脚本 OneDrive文件下载直链
- Github源码 https://github.com/kaaass/sharepoint-list-plugin
如何使用
1.IDM 下载
选择你想下载的文件,点击”IDM 下载“。此时会下载一个 download.ef2
文件,在 IDM 里面导入之后就可以下载了。
2.Aria2下载
复制cookie到Aria2Ng,然后推送至Aria2即可
注意事项
① 千万不要用脚本生成的cookie,要复制F12中完整的cookie!
区别:
脚本生成的cookie:
Cookie: FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+VjExLDBoLmZ8bWVtYmVyc2hpcHwxMDAzMjAwMGJiZjZjMTQ3QGxpdmUuY29tLDAjLmZ8bWVtYmVyc2hpcHxyb290QGNlby5jby5heCwxMzI2NTUxODgyMDAwMDAwMDAsMTMyMzI5Mzk4MDYwMDAwMDAwLDEzMjc3NzM4NDY2NDQxODIxMywxMTEuMjUwLjEwLjkzLDMsMjg1NDgxODgtNWE0Yi00NGUzLTkwMzQtN2Y4YzI1YjcxZjY0LCwyYzE1Y2IxNi1xxxxxxxxxxktODhjZS02ZTQ3ODBmMmMwNGUsZmU3Y2YzOWYtMjAyMS1jMDAwLTQxYWItMjA0MzBlNTZkZTJjLDkxZTlmMzlmLTAwZjgtYzAwMC03NGJiLTU2NjQ5ODY1YzY0NiwsMCwxMzI3NzM5Mjg2NjQ0MTgyMTMsMTMyNzc1NjU2NjY0NDE4MjEzLCwsZXlKNGJYTmZZMk1pT2lKYlhDSkRVREZjSWwwaUxDSjRiWE5mYzNOdElqb2lNU0lzSW5CeVpXWmxjbkpsWkY5MWMyVnlibUZ0WlNJNklsSlBUMVJBWTJWdkxtTnZMbUY0SW4wPSwyNjUwNDY3NzQzOTk5OTk5OTk5LDEzMjc3MTkyNjEyMDAwMDAwMCxlNGUwY2VhMi1mY2IzLTQ4YzQtODgyYi1kMzRmZDg5OGE0NGUsLCwsLCwwLEVuxxxxxxxxxxM2Y2JrUzhJemU3V2dKVXBLUHEyRWVYY3g2YThjbVFIeENIaVZLNTdwR1FSTHMvTzRLWUFaWTNiMTQ5T2hzQ1ppYnBMazNxc3kwNmlxVnBFK05ZeGFITTE1enhjRDYzdjlWUGZlYXFpbXR2aGF4eU9JQXVQd2pZV0w5YUlNZEJVblQwUEQvakFrOEMrOEFzV1R3ZzBPUnl5WVVKdXpmOHBqdzIyenlwSzk3cUlwbGkzZ25qeHI3N1ZoZlFNRWdZSHh3ZGQwQ1VmUHpYVk9kRmlwTzlySGMrY3RWU25XTXUwakU4ejZxeEZTa1hNK0h0NHF6QWhNV21wTlNKdWw3VVg5c3pUWkV2ZHFQWVZGbkZ5djJOUFpKOHFtMVpsaExid3FLQzBiVWFXS2grUmluZXdlc0RxxxxxxxxxxGU0cHJreXJwMGFHYzZMS1hMZz09PC9TUD4=
F12里的cookie:
cookie: MicrosoftApplicationsTelemetryFirstLaunchTime=1632838681107; MicrosoftApplicationsTelemetryDeviceId=9a77832d-d509-8de9-9bca-3ae3ea49f95b; WordWacDataCenter=GAU2; WacDataCenter=GAU2; rtFa=AGkqOhVu6GEt3HSZDytlTToa3kTqKJGFPBovlkZ0IIgmMjg1NDgxODgtNUE0Qi00NEUzLTkwMzQtN0Y4QzI1QjcxRjY0IzEzMjc3Mjg2MjQ0OTAwMDY2NyM0OUQ2RjM5Ri01MDFFLUMwMDAtNzRCQi01RjMxMjMxMDZBRUIjUk9PVCU0MENFTy5DTy5BWBEfRdoXqjKYyOEyi87LECOgM/ygSF+m8YBwgGgfMt1NUkULNxGvDrmw6yAf65HHjlK7ncKIDPD47MiVpR3Y2lTz0IjdbB85+IAY+b6cgTsAcZpGbnD/FiPeuh0JNklhqwmxDM647KaLueAu/lvt9EeaKG/XTI8d9KSwVkvAqwonfplN9V9FmjS+avvcVwN9X4oCA6Nw8BqC6ayH5UsH7/9f0POVHVjYxTNnyg+LfkmyYZe29ahOJBJwg58T+GF+SQtkkBmU+GYabpXxB+DLhlyaedeKdwIXaaF2qLah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OHBqdzIyenlwSzk3cUlwbGkzZ25qeHI3N1ZoZlFNRWdZSHh3ZGQwQ1VmUHpYVk9kRmlwTzlySGMrY3RWU25XTXUwakU4ejZxeEZTa1hNK0h0NHF6QWhNV21wTlNKdWw3VVg5c3pUWkV2ZHFQWVZGbkZ5djJOUFpKOHFtMVpsaExid3FLQzBiVWFXS2grUmluZXdlc0RxxxxxxxxxxGU0cHJreXJwMGFHYzZMS1hMZz09PC9TUD4=
很明显,脚本生成的cookie是不完整,这就导致了两种不同的结果。
② 默认只支持OneDrive,在脚本的设置里添加一下匹配链接即可支持SharePoint
添加规则:https://*.sharepoint.com/sites/*
③ Aria2 推送提示“无法发送 Aria 下载请求!”
在“脚本设置 – XHR 安全 – 用户域名白名单”添加 RPC 域名即可。
最后
OneDrive的速度不是不快,而是本地的网络受限。用服务器下载,几十M/s的下载速度是小意思。
© 版权声明
THE END
- 最新
- 最热
只看作者