youtube-dl
This commit is contained in:
parent
e40c01f7e5
commit
ce8e4def99
1 changed files with 15 additions and 0 deletions
15
youtube-dl.sh
Executable file
15
youtube-dl.sh
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
read -p "Wie ist die URL? : " url
|
||||||
|
read -p "Soll ein Video heruntergeladen werden oder Audio? [audio/video] : " format
|
||||||
|
read -p "Wo sollen die Dateien heruntergeladen werden? : " pfad
|
||||||
|
|
||||||
|
if [ "$format" == "audio" ]
|
||||||
|
then
|
||||||
|
format=140
|
||||||
|
else
|
||||||
|
format=43
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $pfad
|
||||||
|
youtube-dl -i -f $format $url
|
Loading…
Reference in a new issue