Problem
To locally download a youtube playlist.
Solutions
Best Command-line solution
yt-dlp
From their github repo, download the appropriate version.
For Windows, it will be yt-dlp.exe / keep it in a separate folder.
Make sure you have
ffmpeginstalled on your system. If not, usescoop install ffmpegwould work.Basic command to download a playlist as audio:
> yt-dlp -x "PLAYLIST_URL"
The -x flag extracts audio and by default saves as the best available audio format.
and that’s it.
Other Options
Download as MP3 specifically.
> yt-dlp -x --audio-format mp3 "PLAYLIST_URL"
Download as MP3 with high quality (320kbps)
yt-dlp -x --audio-format mp3 --audio-quality 0 "PLAYLIST_URL"
Save files in a named folder, numbered by playlist order
yt-dlp -x --audio-format mp3 -o "%(playlist_index)s - %(title)s.%(ext)s" "PLAYLIST_URL"
JDownloader
JDownloader.org - Official Homepage
This is a GUI version. But I haven’t tried it.