This commit is contained in:
simono41 2017-09-16 02:05:17 +02:00
parent 245ac94a42
commit 2ccd588ca7
4 changed files with 6 additions and 2 deletions

0
openvpn-install.sh Normal file → Executable file
View file

0
x11vnc.desktop Normal file → Executable file
View file

0
x11vnc.service Normal file → Executable file
View file

View file

@ -15,7 +15,7 @@ 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/4k] : " format #read -p "Soll ein Video heruntergeladen werden oder Audio? [opus/audio/video/BEST/fullhd/4k] : " format
if [ "$format" == "opus" ] if [ "$format" == "opus" ]
then then
@ -26,11 +26,15 @@ then
elif [ "$format" == "video" ] elif [ "$format" == "video" ]
then then
format="-f 43" format="-f 43"
elif [ "$format" == "4k" ] elif [ "$format" == "fullhd" ]
then then
format="-f 303+251" format="-f 303+251"
elif [ "$format" == "4k" ]
then
format="-f 315+251"
fi fi
mkdir -p $pfad mkdir -p $pfad
cd $pfad cd $pfad