• Smokeydope@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    18 hours ago

    youtube-dl/yt-dlp, I punch in a command into my computer with url to the playlist, it downloads the video and rips the audio into mp3 format. It works with youtube and bandcamp. With bandcamp it just straight downloads the music files no extraction needed.

    yt-dlp --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" <url to playlist>

      • Smokeydope@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        18 hours ago

        Youtube automatically encodes its audio down to at most 128k in m4a format. Im not sure about bandcamp but its extracting the songs that play through the web browser so they probably also use lossy mp3 for web streaming the songs not higher bitrate FLAC but can’t say for certain. In general the audio stays the same downloaded as you hear it streamed through video. If you’re a big music nerd that absolutely needs highest quality bitrate in FLAC you’re better off sailing the high seas, but a casual music enjoyer won’t notice or care unless the source itself is bad quality like a bootleg live recording.

      • Smokeydope@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        18 hours ago

        yep. this particular format of the command perserves playlist order so you don’t have to manually enter track numbers to organize the album. I recommend yt-dlp installed with python3’s pip3 manager