elizato-dl 🎵
A command-line tool that downloads YouTube Music playlists as MP3s (or FLAC, M4A, WAV, OPUS) with full square album art, correct track numbers, metadata tags, and synced lyrics — so your music library actually looks the way it's supposed to.
Made by Elizato Winston — first year Software Engineering student at the University of Buea 🇨🇲
Why this exists
Every music downloader I tried either stripped the album art, lost the metadata or just dumped a messy pile of files on my laptop. As a graphic designer, that was unacceptable. So I built the solution myself.
What's new in v1.3.0
- 🖼️ High-resolution square album art — no more stretched 16:9 thumbnails. Art is fetched at high-res and center-cropped square so it displays cleanly in every music app.
- 🔢 Correct track numbers — tracks are now numbered in the order they appear in the album/playlist, so your player sorts them the way the artist intended instead of alphabetically.
- 🎧 Clean audio detection — if a playlist track looks like an "official music video" upload (which can contain intros, skits or crowd noise), elizato-dl automatically looks for a clean official-audio version instead.
- 🍪 Cookie freshness indicator — the environment check now shows a clear ✅ when your cookies are still fresh, not just a warning when they've gone stale.
Installation
pip install elizato-dl
Requirements: Python 3.10+, ffmpeg on your PATH
Quick Start
# Download a playlist as MP3 with lyrics
elizato-dl download "https://music.youtube.com/playlist?list=PL..." --cookies cookies.txt --lyrics
# Download as FLAC
elizato-dl download "https://music.youtube.com/playlist?list=PL..." -f flac --cookies cookies.txt
# Save metadata to a manifest file first, then download
elizato-dl fetch "https://music.youtube.com/playlist?list=PL..." --cookies cookies.txt
elizato-dl download manifest.json --cookies cookies.txt --lyrics
Cookie Setup (Required)
YouTube requires authentication to serve audio streams. You need to export your browser cookies:
- Install the Get cookies.txt LOCALLY Chrome extension
- Go to youtube.com while logged in
- Click the extension → Export → save as
cookies.txtin your working directory - Pass it with
--cookies cookies.txt
Cookies expire — if you get 403/429 errors or "Sign in to confirm you're not a bot", re-export them. elizato-dl will show you a ✅ if they're still fresh, or a ⚠️ if they've gone stale.
Commands
download
elizato-dl download <URL or manifest.json> [options]
Options:
-o, --output DIR Output directory (default: ./music)
-f, --format FORMAT Audio format: mp3, m4a, opus, flac, wav (default: mp3)
--lyrics Fetch and embed synced lyrics after download
--no-thumbnail Skip embedding album art
--cookies FILE Path to cookies.txt
--browser BROWSER Read cookies from browser (must be closed)
fetch
elizato-dl fetch <URL> [options]
Options:
-o, --output FILE Output manifest file (default: manifest.json)
--cookies FILE Path to cookies.txt
What you get
Each downloaded track includes:
- 🎵 Highest quality audio available
- 🖼️ High-resolution square album art embedded in the file
- 🔢 Correct track number matching album order
- 🏷️ Full metadata tags (artist, album, title, year)
- 📝 Synced lyrics embedded +
.lrcfile saved alongside (with--lyrics) - 🎧 Clean audio automatically swapped in for tracks that look like music videos
Support the project
If elizato-dl saved you time, feel free to donate:
BTC (BEP20): 0x0cEDD7d8f78B45fbA25B05Ada32eB37F7c193590
License
MIT — free to use, modify and distribute.
Metadata
Release files for elizato-dl 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| elizato_dl-1.3.2.tar.gz | 18.2 kB | With provenance | Details for elizato_dl-1.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elizato_dl-1.3.2-py3-none-any.whl | Python 3 | none | any | Details for elizato_dl-1.3.2-py3-none-any.whl |
Total release size: 35.2 kB
Release files / elizato_dl-1.3.2.tar.gz
| Download URL | elizato_dl-1.3.2.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88b65ac9e79608f01d40c8679effe4f0da276fd3e0e1698169eabdad700ffbbb
|
|
BLAKE2b-256 checksum How to use checksums |
b06e8c5549e0e210f646cdc85fcb72fdd65203fb0a01b2179a5c36ea6ad5fbb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / elizato_dl-1.3.2-py3-none-any.whl
| Download URL | elizato_dl-1.3.2-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7d76ce67544d8777a3ee961fbe622b45339f419e4b9574b6a9a5bc0ce88527e
|
|
BLAKE2b-256 checksum How to use checksums |
ed2c262705c8b3164c44b9ddbbbe9884b4997f51ec3659df972109177a151d8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logSecurity for elizato-dl 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for elizato_dl-1.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.