Yt-dlp
YouTube downloader.
Download on Linux - [1]
How to use:
Usage
- To download mp3 -
- yt-dlp [OPTIONS] [--] URL [URL...]
-x, --extract-audio Convert video files to audio-only files
(requires ffmpeg and ffprobe)
--audio-format FORMAT Format to convert the audio to when -x is
used. (currently supported: best (default), aac, alac, flac, m4a, mp3, opus, vorbis, wav). You can specify multiple rules using similar syntax as --remux-video
Thus:
- yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=videonumber