-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy patharia.bat
18 lines (15 loc) · 1.1 KB
/
aria.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
setlocal enabledelayedexpansion
set "tracker_list="
for /f "delims=" %%i in ('powershell -Command "(Invoke-WebRequest -Uri 'https://ngosang.github.io/trackerslist/trackers_all_http.txt').Content"') do (
set "tracker_list=!tracker_list!%%i,"
)
set "tracker_list=%tracker_list:~0,-1%"
aria2c --allow-overwrite=true --auto-file-renaming=true --bt-enable-lpd=true --bt-detach-seed-only=true ^
--bt-remove-unselected-file=true --bt-tracker="[%tracker_list%]" --bt-max-peers=0 --enable-rpc=true ^
--rpc-max-request-size=1024M --max-connection-per-server=10 --max-concurrent-downloads=10 --split=10 ^
--seed-ratio=0 --check-integrity=true --continue=true --daemon=true --disk-cache=40M --force-save=true ^
--min-split-size=10M --follow-torrent=mem --check-certificate=false --optimize-concurrent-downloads=true ^
--http-accept-gzip=true --max-file-not-found=0 --max-tries=20 --peer-id-prefix=-qB4520- --reuse-uri=true ^
--content-disposition-default-utf8=true --user-agent=Wget/1.12 --peer-agent=qBittorrent/4.5.2 --quiet=true ^
--summary-interval=0 --max-upload-limit=1K