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.

all 16 comments

sorted by: hot top controversial new old
[–] 9 points 2 months ago (3 children)

I cannot download anything via yt-dlp for a couple days too. Probably Google's shenanigans. yt-dlp got an update regarding this and it might not have hit your distro's repo yet. Shouldn't take long.

  • source
  • hideshow 3 child comments
  • [–] 5 points 2 months ago*

    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

  • source
  • [–] 5 points 2 months ago

    You didn't give us much information to go on, but you should probably start by getting the most up to date version of yt-dlp. Also, I believe some time ago that it became a requirement to run another service in other to get youtube content.. EJS it's called.

  • source
  • [–] 2 points 2 months ago

    Paste the FULL output

  • source
  • [–] 2 points 2 months ago

    When accessing yt make sure you always update to nightly, stable take too long to get the updates.

    --update-to nightly

  • source
  • [–] 2 points 2 months ago (3 children)

    Maybe someone here can help if you provide the error message

  • source
  • hideshow 3 child comments
  • [–] [S] 3 points 2 months ago* (2 children)

    WARNING: [youtube:tab] YouTube Music is not directly supported. Redirecting to https://www.youtube.com/playlist?list=
    [youtube:tab] playlist: Downloading webpage

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 months ago* (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 1 point 2 months ago