win10下aria2和BaiduExporter的配置和安装

时间:2019-10-25
本文章向大家介绍win10下aria2和BaiduExporter的配置和安装,主要包括win10下aria2和BaiduExporter的配置和安装使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

一、aria2的配置

下载

aria2下载地址:
https://github.com/aria2/aria2/releases
链接:https://pan.baidu.com/s/1olJyZkXz9Gh5MSI4XcXqhQ
提取码:fco1
复制这段内容后打开百度网盘手机App,操作更方便哦
解压后随便找个英文路径的丢进去就行了。

安装

我就丢在D:\aria2\下。
接下来新建几个文件:
Aria2.log (日志,空文件就行)
aria2.session (下载历史,空文件就行)
aria2.conf (配置文件)
HideRun.vbs (隐藏cmd窗口运行用到的)

配置

1、配置aria2.conf

用文本编辑工具打开刚才建立的aria2.conf
复制按下面的内容,
注意修改一下选项:
dir=D:\td\ (下载文件保存路径,改为你想要的)
log=D:\aria2\Aria2.log (日志文件,如果不需要日志,这一行可去掉,如果需要,路径D:\aria2\改为你安装aria2的路径)
input-file=D:\aria2\aria2.session
save-session=D:\aria2\aria2.session(这两个是记录和读取下载历史用的,断电和重启时保证下载任务不会丢失,如果有时aria2不能启动,清空这里面的内容就行了,路径D:\aria2\改为你安装aria2的路径)

dir=D:\td\
log=D:\aria2\Aria2.log
input-file=D:\aria2\aria2.session
save-session=D:\aria2\aria2.session
save-session-interval=60
force-save=true
log-level=error
max-concurrent-downloads=5
continue=true
max-overall-download-limit=0
max-overall-upload-limit=50K
max-upload-limit=20
connect-timeout=120
lowest-speed-limit=10K
max-connection-per-server=10
max-file-not-found=2
min-split-size=1M
split=5
check-certificate=false
http-no-cache=true
FTP Specific Options
bt-enable-lpd=true
#bt-max-peers=55
follow-torrent=true
enable-dht6=false
bt-seed-unverified
rpc-save-upload-metadata=true
bt-hash-check-seed
bt-remove-unselected-file
bt-request-peer-speed-limit=100K
seed-ratio=0.0
Metalink Specific Options
enable-rpc=true
pause=false
rpc-allow-origin-all=true
rpc-listen-all=true
rpc-save-upload-metadata=true
rpc-secure=false
daemon=true
disable-ipv6=true
enable-mmap=true
file-allocation=falloc
max-download-result=120
#no-file-allocation-limit=32M
force-sequential=true
parameterized-uri=true

 2、实现开机无cmd窗口启动

用文本编辑工具打开刚才建立的HideRun.vbs

复制以下内容,注意修改D:\aria2\ 为你的aria2安装路径(vbs路径不能超过8个字符,我用不好所以这个软件放在根目录了,其他目录长了就找不到文件)

CreateObject(“WScript.Shell”).Run “D:\aria2\aria2c.exe --conf-path=aria2.conf”,0

要启动aria2,一定要点击这个文件,不要点击aria2c.exe

如果要开机启动,创建一个HideRun.vbs的快捷方式,把快捷方式丢到 C:\Users\用户名\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup中

我用的是windows8.1,windowsxp和7,自己找一下路径

点击HideRun.vbs启动服务器,Windows系统会提示防火墙,点击允许外网访问该应用。这个时候虽然看不到任何用户界面,但程序实际上已经在后台运行了,用资源管理器可以看到正在运行的程序。

管理界面

一、aria2是命令行下载器,是没有界面的,不过有webui。

访问这些网址就可以操作前面配置好的服务器了。访问的时候需要进行相关设置,如果是访问本机上的服务器,IP地址选择localhost即可,端口号为6800,如果是远程控制,则需要填写具体的IP,端口号为6800.
http://webui-aria2.ghostry.cn/
http://ziahamza.github.io/webui-aria2/
http://aria2c.com/
二、也可以直接下载webui,再来控制服务器。

点击:https://github.com/ziahamza/webui-aria2下载

之后我们就可以选择链接、种子等下载相应文件了。

进阶运用

1、迅雷离线yaaw下载
脚本地址:https://github.com/binux/ThunderLixianExporter

百度网盘导出插件 for chrome: https://github.com/acgotaku/BaiduExporter
Aria2 WebGUI for chrome: https://github.com/acgotaku/YAAW-for-Chrome

对应的网页都有相关的安装说明,安装好了之后就可以将下载链接导出

二、BaiduExporter插件的安装

下载:https://github.com/acgotaku/BaiduExporter
链接:https://pan.baidu.com/s/1v62bVADDDa5rvXMaheT9QA
提取码:rhpy
复制这段内容后打开百度网盘手机App,操作更方便哦
安装到chrome扩展程序中


参考:https://www.cnblogs.com/mlgjb/p/9144575.html
https://blog.csdn.net/weixin_41594045/article/details/83063327
相同的在mac环境下也差不多,具体参考:https://yalv.me/aria2/

原文地址:https://www.cnblogs.com/stvadv/p/11738688.html