fix
This commit is contained in:
parent
6c7e005da7
commit
6fc6666da5
4 changed files with 9 additions and 6 deletions
2
sgit
2
sgit
|
@ -4,7 +4,7 @@ set -ex
|
||||||
|
|
||||||
[ -n $"{1}" ] && git config --global user.email "${1}"
|
[ -n $"{1}" ] && git config --global user.email "${1}"
|
||||||
git add --all
|
git add --all
|
||||||
git commit --all
|
git commit --all -m fix
|
||||||
git push
|
git push
|
||||||
git show
|
git show
|
||||||
git status
|
git status
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -ex
|
||||||
|
|
||||||
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/60k] : " format
|
read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format
|
||||||
|
|
||||||
if [ "$format" == "opus" ]
|
if [ "$format" == "opus" ]
|
||||||
then
|
then
|
||||||
|
@ -15,7 +15,7 @@ then
|
||||||
elif [ "$format" == "video" ]
|
elif [ "$format" == "video" ]
|
||||||
then
|
then
|
||||||
format="-f 43"
|
format="-f 43"
|
||||||
elif [ "$format" == "60k" ]
|
elif [ "$format" == "4k" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -ex
|
||||||
|
|
||||||
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] : " format
|
read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format
|
||||||
|
|
||||||
if [ "$format" == "opus" ]
|
if [ "$format" == "opus" ]
|
||||||
then
|
then
|
||||||
|
@ -15,6 +15,9 @@ then
|
||||||
elif [ "$format" == "video" ]
|
elif [ "$format" == "video" ]
|
||||||
then
|
then
|
||||||
format="-f 43"
|
format="-f 43"
|
||||||
|
elif [ "$format" == "4k" ]
|
||||||
|
then
|
||||||
|
format="-f 303+251"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $pfad
|
mkdir -p $pfad
|
||||||
|
|
|
@ -16,7 +16,7 @@ then
|
||||||
voll="-fs"
|
voll="-fs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/60k] : " format
|
read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/4k] : " format
|
||||||
|
|
||||||
if [ "$format" == "opus" ]
|
if [ "$format" == "opus" ]
|
||||||
then
|
then
|
||||||
|
@ -27,7 +27,7 @@ then
|
||||||
elif [ "$format" == "video" ]
|
elif [ "$format" == "video" ]
|
||||||
then
|
then
|
||||||
format="-f 43"
|
format="-f 43"
|
||||||
elif [ "$format" == "60k" ]
|
elif [ "$format" == "4k" ]
|
||||||
then
|
then
|
||||||
format="-f 303+251"
|
format="-f 303+251"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue