Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/data/data/com.termux/files/usr/bin/bash
- # 4/05/2017 Gabi Tiplea
- echo -e "Updating default packages"
- apt update && apt -y upgrade
- echo -e "Requesting acces to storage"
- termux-setup-storage
- sleep 5
- echo -e "Installing python"
- apt install python
- echo -e "Installing youtube-dl"
- pip install youtube-dl
- echo -e "Creating the Youtube folder to download the files"
- mkdir ~/storage/shared/Youtube
- echo -e "Creating youtube-dl folder for config"
- mkdir -p ~/.config/youtube-dl
- echo -e "Creating bin folder"
- mkdir ~/bin
- echo -e "Downloading and installing termux-url-opener"
- wget http://pastebin.com/raw/LhDxGbtY -O ~/bin/termux-url-opener
- dos2unix ~/bin/termux-url-opener
- echo -e ""
- echo -e ""
- echo -e "Downloaded Files will be found in Youtube Folder in internal storage "
- echo -e ""
- echo -e "Copyright 2017 Gabi Tiplea, modified by insanetechvideos"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement