youtube-par-cmd: use m3u8 extension
This commit is contained in:
parent
4036b31f3a
commit
f8761e4490
|
@ -22,7 +22,7 @@ cd "$playlistTitle"
|
||||||
urls=`echo "$playlistJSON" | jq -r '.entries[].url'`
|
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" | 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 "#EXTM3U" > "$m3uFile"
|
||||||
echo "#PLAYLIST:$playlistInfo" >> "$m3uFile"
|
echo "#PLAYLIST:$playlistInfo" >> "$m3uFile"
|
||||||
echo "$urls" | while read url; do
|
echo "$urls" | while read url; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user