youtube-par-cmd: fix different URL behavior in yt-dlp
This commit is contained in:
parent
7599319721
commit
75c031e5b2
|
@ -24,7 +24,7 @@ fi
|
||||||
cd "$playlistTitle"
|
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" | xargs -n 1 -P 10 "$cmd"
|
||||||
|
|
||||||
m3uFile="Playlist - $playlistTitle"".m3u8"
|
m3uFile="Playlist - $playlistTitle"".m3u8"
|
||||||
echo "#EXTM3U" > "$m3uFile"
|
echo "#EXTM3U" > "$m3uFile"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user