youtube-par-cmd: use m3u8 extension

This commit is contained in:
gutmet 2020-10-14 08:10:30 +02:00
parent 4036b31f3a
commit f8761e4490

View File

@ -22,7 +22,7 @@ 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"
m3uFile="Playlist - $playlistTitle"".m3u"
m3uFile="Playlist - $playlistTitle"".m3u8"
echo "#EXTM3U" > "$m3uFile"
echo "#PLAYLIST:$playlistInfo" >> "$m3uFile"
echo "$urls" | while read url; do