-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMulti-Loader
More file actions
114 lines (85 loc) · 2.73 KB
/
Copy pathMulti-Loader
File metadata and controls
114 lines (85 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#!/data/data/com.termux/files/usr/bin/bash
RED='\e[0;31m'
WHITE='\e[0;37m'
BLUE='\e[0;34m'
YELLOW='\e[0;33m'
GREEN='\e[32m'
PURPLE='\e[1;95m'
RESET='\e[0m'
clear
echo -e " "
echo -e "
${GREEN}YouTube-DLP will now be installed.
YouTube-DLP support's downloading video and
audio from 100's of websites.
DeeMix Deezer Downloader will also be installed,
this downloader requires a valid Deezer ARL.
When asked for any user conformation during
the installation, type Y and press ENTER.\n"
read -p " Press ENTER to continue:-"
clear
echo " "
echo -e "${GREEN}Upgrading Packages:-${RESET}"
echo " "
apt update --assume-yes && apt upgrade --assume-yes
echo " "
echo -e "${GREEN}Installing FFmpeg:-${RESET}\n"
pkg install -y ffmpeg
echo " "
echo -e "${GREEN}Installing Python:-${RESET}\n"
pkg install -y python
echo " "
echo -e "${GREEN}Updating Python:-${RESET}\n"
python -m pip install --upgrade pip setuptools wheel
echo " "
echo -e "${GREEN}Installing YouTube-DLP:-${RESET}\n"
yes | python3 -m pip install -U --pre yt-dlp
echo " "
echo -e "${GREEN}Creating YT-DLP bin folder:-${RESET}\n"
mkdir ~/bin
echo " "
echo -e "${GREEN}Installing Termux-URL-Opener:-${RESET}\n"
curl https://raw.githubusercontent.com/6060842/YTdlpTermux/main/YT-DLP-02 -o ~/bin/termux-url-opener
dos2unix ~/bin/termux-url-opener
echo " "
echo -e "${GREEN}Installing DeeMix:-${RESET}\n"
yes | python3 -m pip install deemix
clear
echo " "
echo -e "${GREEN}Requesting User ARL, Paste then press ENTER:-${RESET}\n"
deemix requestValidArl
echo " "
echo -e "${GREEN}Installing DeeMix Config:-${RESET}\n"
curl https://raw.githubusercontent.com/6060842/YTdlpTermux/main/Config.json -o ~/config/config.json
dos2unix ~/bin/termux-url-opener
echo " "
echo -e "${GREEN}Installing Termux API:-${RESET}\n"
pkg install termux-api
clear
echo -e "${GREEN} Select allow on the next prompt for
storage access permission.\n"
read -p " Press ENTER to continue:-"
clear
termux-setup-storage
sleep 5
clear
echo " "
echo -e "${GREEN} Select Termux for draw over apps permission
on the next prompt & allow the permission.
Then press back to return to Termux\n"
read -p " Press ENTER to continue:-"
`am start --user 0 -a android.settings.action.MANAGE_OVERLAY_PERMISSION -d "package:com.termux"`
clear
echo " "
echo -e "
${WHITE}YouTube-DLP is now installed, download
video and audio from 100's of web sites.
Share to Termux from Android share menu
to save video or audio to Downloads\Media.
DeeMix is now installed. Downloaded files
are stored in Downloads/Media/Audio/Deezer.
For FLAC Paste: deemix -b flac [URL]
For MP3 Paste: deemix -b mp3 [URL]
in to Termux then press ENTER.
For more info visit github.com/6060842
Type EXIT and press ENTER to leave Termux${RESET}:-\n"