yt-librarian
Download YouTube songs with automatic mp3 metadata and cover photos.
You need an OPENAI_API_KEY
environment variable, as that is used to parse and
organize the metadata. You also need yt-dlp
and ffmpeg
installed.
If you have that, all you have to do is npx yt-librarian "<url>"
and
everything should work. You will get a correctly tagged mp3 file in your cwd.
Development
-
Requirements
You need Node.js installed on your system.
-
Install packages
Run
npm install
to install all neccesary packages. -
Run the application
Run the script locally with
npm start "<url>"