From bcb0ddcb4a1e44b03932fc9b3cf9d0d60d0ff750 Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 17 Apr 2018 16:38:16 +0200 Subject: [PATCH] new-faetures --- youtube.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/youtube.sh b/youtube.sh index 16bb5b4..7f4d0c1 100755 --- a/youtube.sh +++ b/youtube.sh @@ -6,7 +6,7 @@ if [ "$1" == "--help" ] || [[ -z "$1" ]] then echo "bitte alles kleinschreiben" echo "bash ./youtube-dl.sh suche/NOSUCHE URL/SUCHE FORMAT" - echo "Formate: [opus/m4a/video/hd/fullhd/4k]" + echo "Formate: [opus/m4a/video/hd/fullhd/fullhdmp4/4k/FORMAT]" exit 0 fi @@ -38,9 +38,14 @@ then elif [ "$format" == "fullhd" ] then format="-f 303+251" +elif [ "$format" == "fullhdmp4" ] +then + format="-f 299+140" ] elif [ "$format" == "4k" ] then format="-f 315+251" +elif [ -n "$format" ]; then + format="-f $format" fi if [ "$suche" == "suche" ]