ytmdl
Download songs from YouTube and automatically add metadata. tldr-pages
On several platforms
Several platforms
Download songs from YouTube and automatically add metadata. Fetch song information (artist, album, cover art) from iTunes, Spotify, and other sources.
Download a song by name (with interactive selection)
ytmdl song_nameIdentifyDownload the first result without prompting
ytmdl --quiet song_nameIdentifyDownload a song to a specific directory
ytmdl --output-dir path/to/directory song_nameIdentifyDownload a song from a YouTube URL
ytmdl --url https://www.youtube.com/watch?v=oHg5SJYRHA0IdentifyDownload a song in a specific format (mp3, m4a, or opus)
ytmdl --format mp3 song_nameIdentifyDownload a song with artist and album information
ytmdl --artist artist_name --album album_name song_nameIdentifyDownload a list of songs from a text file
ytmdl --list path/to/list.txtIdentifyDisplay help
ytmdl --helpIdentify