win10下aria2和BaiduExporter的配置和安裝

1、aria2的配置

下載

aria2下載地址:
https://github.com/aria2/aria2/releases
連接:https://pan.baidu.com/s/1olJyZkXz9Gh5MSI4XcXqhQ
提取碼:fco1
複製這段內容後打開百度網盤手機App,操做更方便哦
解壓後隨便找個英文路徑的丟進去就好了。html

安裝

我就丟在D:\aria2\下。
接下來新建幾個文件:
Aria2.log (日誌,空文件就行)
aria2.session (下載歷史,空文件就行)
aria2.conf (配置文件)
HideRun.vbs (隱藏cmd窗口運行用到的)python

配置

一、配置aria2.confgit

用文本編輯工具打開剛纔創建的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的路徑)github

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

 二、實現開機無cmd窗口啓動web

用文本編輯工具打開剛纔創建的HideRun.vbschrome

複製如下內容,注意修改D:\aria2\ 爲你的aria2安裝路徑(vbs路徑不能超過8個字符,我用很差因此這個軟件放在根目錄了,其餘目錄長了就找不到文件)windows

CreateObject(「WScript.Shell」).Run 「D:\aria2\aria2c.exe --conf-path=aria2.conf」,0服務器

要啓動aria2,必定要點擊這個文件,不要點擊aria2c.exesession

若是要開機啓動,建立一個HideRun.vbs的快捷方式,把快捷方式丟到 C:\Users\用戶名\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup中ide

我用的是windows8.1,windowsxp和7,本身找一下路徑

點擊HideRun.vbs啓動服務器,Windows系統會提示防火牆,點擊容許外網訪問該應用。這個時候雖然看不到任何用戶界面,但程序實際上已經在後臺運行了,用資源管理器能夠看到正在運行的程序。

管理界面

1、aria2是命令行下載器,是沒有界面的,不過有webui。

訪問這些網址就能夠操做前面配置好的服務器了。訪問的時候須要進行相關設置,若是是訪問本機上的服務器,IP地址選擇localhost便可,端口號爲6800,若是是遠程控制,則須要填寫具體的IP,端口號爲6800.
http://webui-aria2.ghostry.cn/
http://ziahamza.github.io/webui-aria2/
http://aria2c.com/
2、也能夠直接下載webui,再來控制服務器。

點擊:https://github.com/ziahamza/webui-aria2下載

以後咱們就能夠選擇連接、種子等下載相應文件了。

進階運用

一、迅雷離線yaaw下載
腳本地址:https://github.com/binux/ThunderLixianExporter

百度網盤導出插件 for chrome: https://github.com/acgotaku/BaiduExporter
Aria2 WebGUI for chrome: https://github.com/acgotaku/YAAW-for-Chrome

對應的網頁都有相關的安裝說明,安裝好了以後就能夠將下載連接導出

2、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/

相關文章
相關標籤/搜索