Add files via upload
This commit is contained in:
parent
f9db7db0e7
commit
1aff92cfef
1 changed files with 18 additions and 0 deletions
18
ytDownloader.sh
Normal file
18
ytDownloader.sh
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
echo -e 'Gimme link'
|
||||||
|
read selection
|
||||||
|
echo -e 'What do you want from video\n\t1) Best MP4\n\t2) Best MP3\n\t3) Both'
|
||||||
|
read menu
|
||||||
|
|
||||||
|
case $menu in
|
||||||
|
1)
|
||||||
|
yt-dlp -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best $selection
|
||||||
|
;;
|
||||||
|
|
||||||
|
2)
|
||||||
|
yt-dlp -f 'ba' -x --audio-format mp3 $selection
|
||||||
|
;;
|
||||||
|
3)
|
||||||
|
yt-dlp -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best $selection
|
||||||
|
yt-dlp -f 'ba' -x --audio-format mp3 $selection
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Add table
Add a link
Reference in a new issue