youtube-par-cmd: fix different URL behavior in yt-dlp

This commit is contained in:
gutmet 2022-01-06 11:12:04 +01:00
parent 7599319721
commit 75c031e5b2

View File

@ -24,7 +24,7 @@ fi
cd "$playlistTitle"
urls=`echo "$playlistJSON" | jq -r '.entries[].url'`
echo "$urls" | awk '{print "https://www.youtube.com/watch?v=" $0}' | xargs -n 1 -P 10 "$cmd"
echo "$urls" | xargs -n 1 -P 10 "$cmd"
m3uFile="Playlist - $playlistTitle"".m3u8"
echo "#EXTM3U" > "$m3uFile"