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