Yt-dlp
From wikinotes
Fork of youtube-dl with additional features.
Install
pkg install yt-dlp pkg install ffmpeg # otherwise videos capped at 720p
Usage
yt-dlp 'https://www.youtube.com/watch?SOME_PLAYLIST' # archive an entire youtube-playlist yt-dlp -x --audio-format flac --embed-thumbnail 'https://someurl.com'