new-faetures
This commit is contained in:
parent
8919ec3d4d
commit
bcb0ddcb4a
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [ "$1" == "--help" ] || [[ -z "$1" ]]
|
||||||
then
|
then
|
||||||
echo "bitte alles kleinschreiben"
|
echo "bitte alles kleinschreiben"
|
||||||
echo "bash ./youtube-dl.sh suche/NOSUCHE URL/SUCHE FORMAT"
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -38,9 +38,14 @@ then
|
||||||
elif [ "$format" == "fullhd" ]
|
elif [ "$format" == "fullhd" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
|
elif [ "$format" == "fullhdmp4" ]
|
||||||
|
then
|
||||||
|
format="-f 299+140" ]
|
||||||
elif [ "$format" == "4k" ]
|
elif [ "$format" == "4k" ]
|
||||||
then
|
then
|
||||||
format="-f 315+251"
|
format="-f 315+251"
|
||||||
|
elif [ -n "$format" ]; then
|
||||||
|
format="-f $format"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$suche" == "suche" ]
|
if [ "$suche" == "suche" ]
|
||||||
|
|
Loading…
Reference in a new issue