Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.23 KB

File metadata and controls

49 lines (36 loc) · 1.23 KB

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.