add hdmp4
This commit is contained in:
parent
88c16052b3
commit
cf648fa572
2 changed files with 8 additions and 2 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/search URL/stichwort FORMAT"
|
echo "bash ./youtube-dl.sh suche/search URL/stichwort FORMAT"
|
||||||
echo "Formate: [opus/m4a/video/hd/fullhd/fullhdmp4/4k/FORMAT]"
|
echo "Formate: [opus/m4a/video/hd/hdmp4/fullhd/fullhdmp4/4k/FORMAT]"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -31,6 +31,9 @@ then
|
||||||
elif [ "$format" == "hd" ]
|
elif [ "$format" == "hd" ]
|
||||||
then
|
then
|
||||||
format="-f 247+251"
|
format="-f 247+251"
|
||||||
|
elif [ "$format" == "hdmp4" ]
|
||||||
|
then
|
||||||
|
format="-f 22"
|
||||||
elif [ "$format" == "fullhd" ]
|
elif [ "$format" == "fullhd" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
|
|
|
@ -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/search URL/stichwort FORMAT"
|
echo "bash ./youtube-dl.sh suche/search URL/stichwort FORMAT"
|
||||||
echo "Formate: [opus/m4a/video/hd/fullhd/fullhdmp4/4k/FORMAT]"
|
echo "Formate: [opus/m4a/video/hd/hdmp4/fullhd/fullhdmp4/4k/FORMAT]"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -31,6 +31,9 @@ then
|
||||||
elif [ "$format" == "hd" ]
|
elif [ "$format" == "hd" ]
|
||||||
then
|
then
|
||||||
format="-f 247+251"
|
format="-f 247+251"
|
||||||
|
elif [ "$format" == "hdmp4" ]
|
||||||
|
then
|
||||||
|
format="-f 22"
|
||||||
elif [ "$format" == "fullhd" ]
|
elif [ "$format" == "fullhd" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
|
|
Loading…
Reference in a new issue