From ab289b216c1756d52160a6685adbc9149d19f9cb Mon Sep 17 00:00:00 2001 From: gotbletu Date: Mon, 2 Nov 2015 14:10:54 -0800 Subject: [PATCH] yt audio only dl --- youtube_dl_1click_mp3_download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl_1click_mp3_download.sh b/youtube_dl_1click_mp3_download.sh index 2aae171..4d1e5cd 100755 --- a/youtube_dl_1click_mp3_download.sh +++ b/youtube_dl_1click_mp3_download.sh @@ -39,8 +39,8 @@ cd "$DOWNLOAD_DIR_MP3" notify-send -i "$IMAGE_LOGO" 'Downloading to MP3' 'Starting ...' -t 5000 -# download (prevents downloading all playlist) -youtube-dl -c --restrict-filenames --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" "$(xclip -selection clipboard -o | cut -d\& -f1)" +# download audio only saves bandwidth (prevents downloading all playlist) +youtube-dl -c --restrict-filenames --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" -f 171 "$(xclip -selection clipboard -o | cut -d\& -f1)" notify-send -i "$IMAGE_LOGO" 'Downloading to MP3' 'Completed !!!' -t 5000