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.


Make sure it is updated to latest nightly (they constantly play whackamole with YouTube’s changes breaking downloader and monthly stable basically never works)
If you’re using your distros install, uninstall it, create a Python venv, and install yt-dlp using pip. Distro packages do not update frequently enough to keep yt-dlp usable, the pip version is latest nightly build by default.
Make sure you have a JavaScript anti-bot challenge solver installed, which is the yt-dlp-ejs package, and a JS runtime like deno else YouTube will always fall over