when I type in yt-dlp -x --audio-format mp3 -f bestaudio -o “%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s” “YOUR_PLAYLIST_URL” I get an error message saying youtube music not supported and then it switches over to Youtube to get the playlist I give access to my cookies so it can download e playlist but then I get error messages while it tries to download the playlist and nothing gets downloaded.
Any suggestions?
EDIT: it’s youtube music that’s the problem. I can download from youtube proper, but the problem is that songs that have a music video are substituted instead of the song file itself.
EDIT: I think I will just transfer my liked playlist to another playlist and download that.


working for me with updated binaries (currently on windows), including deno.
using just the cli instead of ytinterface. fed it a random playlist i found and used your exact command line. it also stated music wasn’t supported but redirected seamlessly to yt itself.
it’s now 40-some tracks in and still going.
I can download OTHER playlists. I just cannot download my liked music playlist.
add your likes to a play queue, then use that queue as your playlist for dlp.
see also: https://old.reddit.com/r/YoutubeMusic/comments/8zu1u5/how_to_share_liked_songs/