Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- one="1"
- answer=''
- tput clear
- tput cup 05 10
- echo "Give the Batch File .txt File: \c"
- # Here you paste the YT-video-URL by ctrl+shift+V
- read answer
- # The follwing command will display a list of video quality options to choose from
- #youtube-dl -l --batch-file=$answer
- #echo
- # Here you give the number shown in first column as per your choice
- #echo "Select Quality (Choose a number): \c"
- #read qual
- # If you don't want to download and quit the shell, give 99
- if [ $one -ne 2 ]
- then
- youtube-dl --extract-audio --audio-format mp3 --audio-quality 160K -l --batch-file=$answer
- #youtube-dl -f $qual -o "/home/d_brasco/Music/Yootube Videos/%(title)s.%(ext)s" $answer
- else
- exit 0
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement