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.

  • Souvenir@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    Sorry if this is a bit of a tangent, but it’s a shame torrenting music aren’t as big a thing as they used to be.

    It was nice being able to download high quality album rips pretty quickly after release.

    I dunno, maybe my tastes have become too niche or I’m looking in all the wrong places.

  • muhyb@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 hours ago

    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.

  • adarza@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 hours ago

    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.

  • empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 hours 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

  • url@feddit.fr
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 hours ago

    Maybe someone here can help if you provide the error message