Replies: 1 comment 1 reply
-
能不能下和很多信息有关,不光需要URL,有时还需要Referrer和Cookies信息。有些网站为了防盗链,生成的下载链接,有数字签名,只能使用一次。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我自己尝试着开发了一个插件,照着使用了
chrome.downloads.onDeterminingFilename.addListener
来获取链接,经过测试,我获取的地址和使用 Aria2-Explorer 导出到 aria2rpc 时的链接地址是一模一样的但是我直接复制获取到的链接地址,在aria2中手动的新建任务,手动的粘贴链接,会无法下载。而使用这个插件导出到 aria2 中新建任务,就可以正常下载
这是为什么呢?是有什么技巧吗?下面是我的插件的代码,还望大佬能赐教。
Beta Was this translation helpful? Give feedback.
All reactions