forked from Phoenix9Head/magneto-python-aria
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharia.sh
More file actions
10 lines (10 loc) · 692 Bytes
/
aria.sh
File metadata and controls
10 lines (10 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
export MAX_DOWNLOAD_SPEED=0
tracker_list=$(curl -Ns https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt | awk '$1' | tr '\n' ',')
export MAX_CONCURRENT_DOWNLOADS=7
aria2c --enable-rpc --rpc-listen-all=false --rpc-listen-port 6800 \
--max-connection-per-server=10 --rpc-max-request-size=1024M \
--bt-tracker="[$tracker_list]" --bt-max-peers=0 --seed-time=0.01 --min-split-size=10M \
--follow-torrent=mem --split=10 \
--daemon=true --allow-overwrite=true --max-overall-download-limit=$MAX_DOWNLOAD_SPEED \
--max-overall-upload-limit=1K --max-concurrent-downloads=$MAX_CONCURRENT_DOWNLOADS \
--peer-id-prefix=-qB4250- --user-agent==qBittorrent/4.2.5