From ff5f8259e13983a30517f328544ce5edcd3a5768 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 16 Sep 2017 16:05:40 +0200 Subject: [PATCH] hd-format-support --- youtube-dl.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/youtube-dl.sh b/youtube-dl.sh index 35e4c70..9b87fb7 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -15,17 +15,20 @@ format="$3" #read -p "Wie ist die URL? : " url #read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad -#read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/fullhd/4k] : " format +#read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/m4a/video/hd/fullhd/4k] : " format if [ "$format" == "opus" ] then format="-f 251" -elif [ "$format" == "audio" ] +elif [ "$format" == "m4a" ] then format="-f 140" elif [ "$format" == "video" ] then format="-f 43" +elif [ "$format" == "hd" ] +then + format="-f 247+251" elif [ "$format" == "fullhd" ] then format="-f 303+251"