Download YouTube Music with Artist / Album etc via Ytmdl

Want some music? You can download some from YouTube as well as the metadata, e.g., artist name, album name etc.

Youtube-dl the popular command line YouTube downloading app has the ability to download audio. But, here I’m to introduce another tool called Ytmdl.

Ytmdl (YouTube Music Downloader) is a command line tool based on youtube-dl. Besides downloading a song from Youtube, it also gets song information like artist, album, release date, thumbnail etc by fetching it from sources like Itunes, Gaana and other sources.

Downloading Music is easy:

Though it’s a command line tool, users can easily run ytmdl 'song_name' or ytmdl https://song-url and let it shows you which to download, which metadata to use.

All you need to do is just hitting the number on keyboard to choose from list, and it finally will save the music in user’s Music folder.

For advanced users, there are also a list of command options available. Simply run ytmdl --help to list them.

How to Install Ytmdl:

Ytmdl is written in Python programming language. Arch Linux and Manjaro users can get it from AUR repository.

1.) Firstly open terminal from system app launcher.

2.) Then install python3-pip package via command:

  • For Ubuntu, Debian, Linux Mint based systems, run command:
    sudo apt install python3-pip
  • For Fedora, openSUSE, etc, run:
    sudo yum install python3-pip

3.) Finally run command to install the YouTube Music Downloader:

sudo pip3 install ytmdl

The tool is also available to install in Windows, see the github page for more about Ytmdl.

Merilyn Ne
Hi, I'm Merilyn Ne, a geek who has been working on Ubuntu Linux for many years and would like to write useful tips for beginners. Forgive me for language mistakes. I'm not a native speaker of English.