From 02d5c85677fefd560c639e4cab2c4c4c4405c4d6 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 12 Mar 2020 14:25:49 -0700 Subject: [PATCH] more patterns to detect playlists from youtube --- ytdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytdl b/ytdl index 61286e1..2d7755b 100755 --- a/ytdl +++ b/ytdl @@ -19,7 +19,7 @@ outplaylist="$HOME/Music/${dir}/%(autonumber)02d - %(title)s.%(ext)s" outsingle="$HOME/Music/${dir}/%(title)s.%(ext)s" # youtube playlists -if echo "$url" | grep -q '&list='; then +if echo "$url" | grep -q '&list=\|?list'; then $cmd -o "$outplaylist" "$url" # soundcloud sets elif echo "$url" | grep -q '/sets/'; then