v1ral_ITS

ITS Best Any URL Online Videos And More [ Download Program ]

Aug 11th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.38 KB | None | 0 0
  1. #!/bin/bash
  2. ####################################
  3. #                                        
  4. # START                                
  5. # g0ne_@p0stal <v1ral_ITS>        
  6. # ImPerialTeKSolutions@outlook.com
  7. #                                      
  8. ####################################
  9.  
  10. needed_tool='youtube-dl yad kdialog ffmpeg'
  11. require_tools ()
  12. {
  13.     local NOT_AVAIL=""
  14.     for TOOL in $needed_tool; do
  15.         if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
  16.     done
  17.     if [[ "$NOT_AVAIL" != "" ]]; then
  18.         echo "ERROR: The following required tool(s) cannot be found: $NOT_AVAIL"
  19.         exit 3
  20.     fi
  21. }
  22.  
  23. # Check If Package Downloaded
  24. require_tools
  25.  
  26.  
  27. if [[ $* == $1 ]] ;
  28. then
  29. (echo -e "\nThis Script was especially made for Videos on mostly all online URL webties. \nv1ral_ITS \nImPerialTeKSolutions@outlook.com \nhttps://www.pastebin.com/u/v1ral_ITS \n" | yad --title "ITS Video Downloads Program" --width 350 --height 300 --text-info --button="Press ME To Continue!gtk-ok")
  30. fi
  31.  
  32. # Download Of Files Location
  33. cd "$(yad --title "Change Directory To Download Destination" --file-selection --directory)"
  34.  
  35. # Start Program
  36. time (sudo youtube-dl --ignore-config --hls-prefer-native --add-metadata -i -c --yes-playlist --external-downloader axel "$(kdialog --title "Copy/Paste Any Video URL" --inputbox "URL")") && mpv "https://notificationsounds.com/wake-up-tones/rise-and-shine-342/download/mp3"
Add Comment
Please, Sign In to add comment