hd-format-support
This commit is contained in:
parent
2ccd588ca7
commit
ff5f8259e1
1 changed files with 5 additions and 2 deletions
|
@ -15,17 +15,20 @@ format="$3"
|
||||||
|
|
||||||
#read -p "Wie ist die URL? : " url
|
#read -p "Wie ist die URL? : " url
|
||||||
#read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad
|
#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" ]
|
if [ "$format" == "opus" ]
|
||||||
then
|
then
|
||||||
format="-f 251"
|
format="-f 251"
|
||||||
elif [ "$format" == "audio" ]
|
elif [ "$format" == "m4a" ]
|
||||||
then
|
then
|
||||||
format="-f 140"
|
format="-f 140"
|
||||||
elif [ "$format" == "video" ]
|
elif [ "$format" == "video" ]
|
||||||
then
|
then
|
||||||
format="-f 43"
|
format="-f 43"
|
||||||
|
elif [ "$format" == "hd" ]
|
||||||
|
then
|
||||||
|
format="-f 247+251"
|
||||||
elif [ "$format" == "fullhd" ]
|
elif [ "$format" == "fullhd" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
|
|
Loading…
Reference in a new issue