Advertisement
Al_Tasin

Youtube-dl

Jun 16th, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.01 KB | None | 0 0
  1. #!/data/data/com.termux/files/usr/bin/bash
  2. # 4/05/2017 Gabi Tiplea
  3.  
  4. echo -e "Updating default packages\n"
  5. apt update && apt -y upgrade
  6.  
  7. echo -e "Requesting acces to storage\n"
  8. termux-setup-storage
  9. sleep 5
  10.  
  11. echo -e "Installing Python\n"
  12. apt install python
  13.  
  14. echo -e "Installing Youtube-dl\n"
  15. pip install youtube-dl
  16.  
  17. echo -e "Creating the Youtube folder to download the files\n"
  18. mkdir ~/storage/shared/Youtube
  19.  
  20. echo -e "Creating youtube-dl folder for config\n"
  21. mkdir -p ~/.config/youtube-dl
  22.  
  23. echo -e "Creating bin folder\n"
  24. mkdir ~/bin
  25.  
  26. echo -e "Downloading and installing termux-url-opener\n"
  27. wget https://pastebin.com/raw/kvfQJWuH -O ~/bin/termux-url-opener
  28. dos2unix ~/bin/termux-url-opener
  29. echo -e "\n"
  30. echo -e "\n"
  31. echo -e "Downloaded Files will be found in Youtube Folder in internal storage \n"
  32. echo -e "\n"
  33. echo -e "Copyright 2017 Gabi Tiplea Edited By Al Tasin\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement