forked from Cloud-Souvik/sl-mir-mod-for-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use /mirror qb to mirror with qbitorrent and use /mirror qbs to select files before downloading Signed-off-by: anas <[email protected]>
- Loading branch information
Showing
21 changed files
with
874 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import time | ||
import requests | ||
import os | ||
from dotenv import load_dotenv | ||
|
||
load_dotenv('config.env') | ||
|
||
url = os.environ.get("BASE_URL_OF_BOT") | ||
while True: | ||
time.sleep(1000) | ||
status = requests.get(url).status_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
export MAX_DOWNLOAD_SPEED=0 | ||
tracker_list=$(curl -Ns https://raw.githubusercontent.com/XIU2/TrackersListCollection/master/all.txt https://ngosang.github.io/trackerslist/trackers_all_http.txt https://raw.githubusercontent.com/DeSireFire/animeTrackerList/master/AT_all.txt https://raw.githubusercontent.com/hezhijie0327/Trackerslist/main/trackerslist_combine.txt | awk '$0' | tr '\n' ',') | ||
export MAX_CONCURRENT_DOWNLOADS=7 | ||
|
||
aria2c --enable-rpc --rpc-listen-all=false --check-certificate=false \ | ||
aria2c --enable-rpc --check-certificate=false \ | ||
--max-connection-per-server=10 --rpc-max-request-size=1024M \ | ||
--bt-tracker="[$tracker_list]" --bt-max-peers=0 --bt-tracker-connect-timeout=300 --bt-stop-timeout=1200 --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 \ | ||
--bt-stop-timeout=1200 --min-split-size=10M --follow-torrent=mem --split=10 \ | ||
--daemon=true --allow-overwrite=true --max-overall-download-limit=0 \ | ||
--max-overall-upload-limit=1K --max-concurrent-downloads=15 --continue=true \ | ||
--peer-id-prefix=-qB4360- --user-agent=qBittorrent/4.3.6 --peer-agent=qBittorrent/4.3.6 \ | ||
--disk-cache=64M --file-allocation=prealloc --continue=true \ | ||
--max-file-not-found=0 --max-tries=20 --auto-file-renaming=true \ | ||
--bt-enable-lpd=true --seed-time=0.01 --seed-ratio=1.0 \ | ||
--content-disposition-default-utf8=true --http-accept-gzip=true --reuse-uri=true --netrc-path=/usr/src/app/.netrc | ||
--disk-cache=64M --bt-enable-lpd=true --seed-time=0 --max-file-not-found=0 \ | ||
--max-tries=20 --auto-file-renaming=true --reuse-uri=true --http-accept-gzip=true \ | ||
--content-disposition-default-utf8=true --netrc-path=/usr/src/app/.netrc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.