ytmdl
all
Download songs from YouTube and automatically add metadata. Fetch song information (artist, album, cover art) from iTunes, Spotify, and other sources.
More info →Options (3)
-q, --quietbooleanDownload the first result without prompting
Example:
ytmdl {{[-q|--quiet]}} {{song_name}}-o, --output-dirbooleanDownload a song to a specific directory
Example:
ytmdl {{[-o|--output-dir]}} {{path/to/directory}} {{song_name}}-h, --helpbooleanDisplay help
Example:
ytmdl {{[-h|--help]}}Examples (8)
Download a song by name (with interactive selection)
ytmdl song_nameDownload the first result without prompting
ytmdl [-q|--quiet] song_nameDownload a song to a specific directory
ytmdl [-o|--output-dir] path/to/directory song_nameDownload a song from a YouTube URL
ytmdl --url https://www.youtube.com/watch?v=oHg5SJYRHA0Download a song in a specific format (mp3, m4a, or opus)
ytmdl --format mp3|m4a|opus song_nameDownload a song with artist and album information
ytmdl --artist artist_name --album album_name song_nameDownload a list of songs from a text file
ytmdl --list path/to/list.txtDisplay help
ytmdl [-h|--help]made by @shridhargupta | data from tldr-pages