forked from dqanshi/LaZER-DL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.sh
24 lines (17 loc) · 1008 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#bin #!bash
###### Adding Files ######
wget -O /app/tobrot/aria2/dht.dat https://github.com/P3TERX/aria2.conf/raw/master/dht.dat
wget -O /app/tobrot/aria2/dht6.dat https://github.com/P3TERX/aria2.conf/raw/master/dht6.dat
TRACKER=`curl -Ns https://raw.githubusercontent.com/XIU2/TrackersListCollection/master/all.txt -: https://ngosang.github.io/trackerslist/trackers_all_http.txt -: https://newtrackon.com/api/all -: https://raw.githubusercontent.com/DeSireFire/animeTrackerList/master/AT_all.txt -: https://torrends.to/torrent-tracker-list/?download=latest | awk '$1' | tr '\n' ',' | cat`
ran=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 12 | head -n 1)
###### Done Addding Files ######
if [[ -n $RCLONE_CONFIG_URL ]]; then
echo "Rclone config detected 📁📁"
wget -q $RCLONE_CONFIG_URL -O /app/rclone.conf
fi
if [[ -n $CONFIG_ENV_URL ]]; then
echo " Found config.env File 📁📁 "
wget -q $CONFIG_ENV_URL -O /app/config.env
fi
echo "Starting Your Bot... 👾👾"
python3 -m tobrot