-
Notifications
You must be signed in to change notification settings - Fork 8
/
install.sh
40 lines (28 loc) · 1.27 KB
/
install.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/data/data/com.termux/files/usr/bin/bash
# Project name : Termux-YTD
# Coded by: Khansaad1275 (You dont become a coder by just changing the credits)
# Github: https://github.com/khansaad1275/Termux-YTD
# Date : 14/4/2020
#Probably make a varible with the file name
#make it more easy to update!
echo -e "\e[035m" "Updating default packages\n"
apt update && apt upgrade -y
echo -e "\e[032m" "Requesting acces to storage\n"
echo -e "\e[032m" "Allow Storage Permission!"
sleep 2
termux-setup-storage
#echo -e "\e[033m" "Installing python\n"
pkg install python -y
echo -e "\e[034m" "Installing yt-dlp\n"
pip install yt-dlp
echo -e "\e[032m" "Making the Youtube Directory to download the Vidoes\n"
mkdir ~/storage/shared/Youtube
echo -e "Creating bin folder\n"
mkdir ~/bin
echo -e "Creating Termux-URL-Opener Script.\n"
mv termux-url-opener ~/bin/
chmod +x ~/bin/termux-url-opener
echo -e "\n"
echo -e "\e[032m" "Process Complete!"
echo -e "\e[032m" "Now you can share any Youtube video with Termux and you will be ask to select the quality of your downloaded video and after that,It will be automatically Downloaded. If You will share shorts, it will be download automatically."
echo -e "\e[033m" "For More Awesome and Useful Tool like this Visit My website ©www.LearnTermux.tech"