Add files via upload

This commit is contained in:
Tahinli 2022-12-29 14:37:03 +03:00 committed by GitHub
parent f9db7db0e7
commit 1aff92cfef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

18
ytDownloader.sh Normal file
View 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