manjaro aria2+AriaNg+BaiduExporter下载百度云文件
序
先吐槽下,网上的教程的关于aria2的教程看了半天也没有弄懂,自己写篇备注下。
安装aria2
由于是我是manjaro,aria2的安装直接在软件包管理安装就行了
配置aria2.conf
在一个目录下写一个aria2.conf文件和空的aria2.session文件,把 http://aria2c.com/usage.html 配置的那部复制过来,修改你要下载的地址及把aria2.session文件所在目录在相应的位置填上
在建的建的aria2目录编写aria2.sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: aria2
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Aria2 Downloader
### END INIT INFO
case "$1" in
start)
echo -n "已开启Aria2c"
sudo -u root aria2c --conf-path=/建的aria2目录/aria2.conf -D
#sudo -u后面的是你正在使用的用户名
;;
stop)
echo -n "已关闭Aria2c"
killall aria2c
;;
restart)
killall aria2c
sudo -u root aria2c --conf-path=/
建的aria2目录/aria2.conf -D
#同上面的一样,根据自己的用户改-u后面的用户名
;;
esac
exit
保存文件把权限给为755:
chmod 755 aria2c.sh
./aria2c.sh start
谷歌浏览器安装插件
https://github.com/acgotaku/BaiduExporter,下载百度插件安装谷歌浏览器
开启ui工具
https://github.com/mayswind/AriaNg/ 下载编译好的文件,如 https://github.com/mayswind/AriaNg/releases/download/0.4.0/aria-ng-0.4.0.zip ,解压后
python -m SimpleHTTPServer 8848
不行的话用这个
python -m http.server 8848
浏览器访问
http://localhost:8848
可能更好的
https://github.com/wapznw/aria2desktop
参考:
https://www.cnblogs.com/Meternal/p/8168629.html
https://yorkchou.com/aria2.html
https://www.jianshu.com/p/71960f861a37
最后更新于 2018-08-18 14:47:31 并被添加「 aria2, AriaNg, 下载百度云文件」标签,已有 3393 位童鞋阅读过。
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处