在使用此扩展程序之前,请正确设置ARIA2。
特征
- 用ARIA2替换浏览器默认下载管理器
- 添加,…
在使用此扩展程序之前,请正确设置ARIA2。
特征
- 用ARIA2替换浏览器默认下载管理器
- 添加,启动,暂停和停止作业在扩展选项卡中
- 使用右键单击上下文菜单触发下载
- 允许使用集成的Ariang进行更多操作
- 自定义配置允许实例以外的实例除默认ARIA2域和端口
- 第三方脚本支持,允许用户使用集成编辑器添加脚本。 (自0.5.0以来删除)
##脚本
> ** 0.5.0 **由于清单3而不允许根据[指南](https://developer.chrome.com/docs/extensions/extensions/develop/migrate/migrate/migrate/migrate/improve-security)删除此功能。
新脚本扩展程序允许用户在网站上下载某些资源,而无需手动进入页面源。
### 例子
````````
(异步函数(url){
“使用严格”;
尝试 {
const res =等待提取(url);
如果(res.ok){
const data =等待res.text();
const parser = new domparser();
const doc = parser.parsefromstring(数据,“ text/html”);
const匹配= doc.queryselector(“ <Some-Query-Selector>”);
返回匹配项.src;
}
} catch(错误){
Console.Error(错误);
}
})();
````````
<p>
将输入URL作为参数,用户应能够实现脚本使用XPATH或查询选择器来查找媒体源或在定义域上的批处理图像
并在批处理中自动下载全部。
</p>
提交问题
如果您在这里遇到任何问题,请提交问题(https://github.com/zluo01/aria2-extension/issues)
参考
-https://github.com/aria2/aria2
-https://github.com/mayswind/ariang
-https://github.com/sonnyp/aria2.js/
-https://github.com/rosswang/aria2-integration