Skip to content

A tool that downloads songs from YouTube Music in m4a format along with the album cover and metadata from iTunes.

License

Notifications You must be signed in to change notification settings

CodePreserver/pytmdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYTMDL 🎧

PYTMDL is a tool that downloads songs and their corresponding covers from YouTube Music, and then embeds the metadata from iTunes into the songs.

Made with Python License: MIT

Usage

Clone the repository:

git clone https://github.com/OpenSourceCatalyst/pytmdl.git

cd into pytmdl:

cd pytmdl

Install the required dependencies:

pip install -r requirements.txt

Run:

python main.py [-h] [-v] [-s] [-o OUTPUT] [-l LANGUAGE] [url ...]

Example:

python main.py -o "~/Desktop" "<song/playlist URL here>"

Executable

You can create an executable by using the following command:

pyinstaller --add-data "translations:translations" main.py

It will be created by default in ./dist/main/main in Linux/Mac or .\dist\main\main.exe in Windows.

Note: adding the --onefile argument to pyinstaller tends to make running the executable very slow.

About

A tool that downloads songs from YouTube Music in m4a format along with the album cover and metadata from iTunes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages