Stmol/yandex-music-downloader
Download music from Yandex Music
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#2 Repository of the week
Yandex Music Downloader
A GUI application for downloading tracks from the Yandex Music streaming service.

⚠️ This is an unofficial application and is not affiliated with Yandex or its services.
Why?
- Because I just want to run
app.exeand get my tracks. Noapt, nobrew, nopip, and none of that other annoying stuff - It's fun to code new things 🤗
Features
- Modern graphical user interface
- Blazingly fast, powered by the Go programming language
- Download individual tracks, albums, and playlists in MP3 format by default
- Download Yandex Music chart playlists, including region-specific charts
- Optional lossless downloads with automatic fallback to the best available MP3
- Add metadata tags and embedded cover art to downloaded MP3 and FLAC files
- Duplicate detection in playlists
- Concurrent file downloads
Installation
- Download the latest release from GitHub
- Select the appropriate binary for your operating system
- Extract the archive to any directory you prefer
- For Linux and macOS, make the binary executable:
chmod +x yamdl - Launch the application from the terminal:
./yamdl - Optional: set a download timeout in seconds:
./yamdl --timeout 180 - Optional: skip cover download and embedding to save time and traffic:
./yamdl --skip-cover=true
Authentication Token
An OAuth token is required for accessing certain tracks and playlists.
🔐 Without a token, you will be able to download only 30 seconds of each track.
You can obtain a Yandex Music OAuth token using yandex-oauth-token, a local helper that signs you in via QR and exchanges the session into a Music token. Run it on your machine, then paste the token into this app.
For alternative ways to get a token, see the yandex-music API documentation.
Usage Guide
1. Token Authentication
- On the first launch, you'll be prompted to enter your authentication token
- You may proceed without a token by pressing
Enter, but this may result in errors while downloading

2. Token Persistence
- After entering the token, you'll have the option to save it to
token.txtin the application directory - This eliminates the need to re-enter the token on subsequent launches

3. Copy Track Link
- Navigate to the Yandex Music web interface and select
Share->Copy linkfor any track, album, or playlist - Chart pages such as
https://music.yandex.ru/chartandhttps://music.yandex.ru/chart/worldcan also be pasted directly - This will copy the URL to your clipboard
4. Paste Link
- Press
<Ctrl+V>/<Cmd+V>to paste the link into the application

5. Download Preparation
- Upon valid URL input, the next screen displays a track listing with status indicators
- Use the action bar to choose a format for all tracks and run actions from one place
- Press
<Tab>to move between the track list and controls,<Left>/<Right>to move inside controls, and<Enter>/<Space>to activate the focused control - Format selection applies to the whole current queue; individual tracks still fall back to MP3 when lossless is unavailable
- Depending on the source returned by Yandex Music, a lossless track may be saved as either
FLACorM4A - Supported source URLs include tracks, albums, playlists, and Yandex Music charts
- If FLAC is unavailable or cannot be downloaded, the app automatically falls back to the best available MP3
- Downloads are saved to
./downloadsin the application's working directory - Track status indicators:
Ready - Track is queued for download
Downloading - Download in progress
Error - Download failed
Already Exists - File exists in target directory
Duplicate - Duplicate track in current playlist
Not Available - Track unavailable (likely due to licensing restrictions)
✅ MP3 - Download completed as MP3, including MP3 fallback from FLAC mode
✅ FLAC - Download completed as lossless FLAC
✅ M4A - Download completed as lossless M4A

6. Download Process
- Focus
Download allin the action bar and press<Enter>or<Space> - The download process will start
- Track statuses update in real-time
- Completed tracks show the actual saved format in the status column, for example
✅ FLAC,✅ M4A, or✅ MP3 - If you stop an active queue, interrupted tracks are returned to
Readyso you can restart the download cleanly - If needed, you can relaunch the app with
--timeout <seconds>to limit how long a single file download may take - By default, each MP3 or FLAC is tagged with title, artist, album metadata, Yandex track ID, and embedded cover art when available
- If cover downloads are slow or expensive, relaunch with
--skip-cover=true; text ID3 tags will still be written

7. Completion
- The progress bar fills completely upon download completion
- Downloaded tracks are available in the
./downloadsdirectory - A track is marked as completed only after the audio file is saved and metadata tags are written; cover download failures are ignored so they do not block the track

Troubleshooting
- If downloads fail, you can retry by focusing
Download allafter the process completes - For persistent errors, try using your personal authentication token
- In lossless mode, a completed
✅ MP3status means the app successfully used the MP3 fallback for that track - A completed
✅ M4Astatus means Yandex Music returned the lossless track in an M4A container - You are welcome to open an issue or send a PR
Acknowledgments
- MarshalX/yandex-music-api - Yandex Music API implementation
- llistochek/yandex-music-downloader - Yandex Music download utility
License
Stay golden and don't be shady. Peace ✌️
Similar Projects
Discover other similar projects and AI models.
Kotlin Multiplatform Music Downloader, Supports Spotify / Gaana / Youtube Music / Jio Saavn / SoundCloud.
Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
Musicdl: A lightweight music downloader written in pure python. (轻量级无损音乐下载器,支持数十个音乐/有声读物平台,例如网易云音乐,QQ音乐,酷狗音乐,酷我音乐,咪咕音乐,千千静听,汽水音乐,Bilibili,街声,喜马拉雅,懒人听书,荔枝FM,蜻蜓FM,JOOX,TIDAL,YouTube,Apple Music,Spotify,Qobuz,SoundCloud等主流音乐平台)
Sunnify is a Spotify downloader application + CLI that allows you to download entire playlists locally onto your Mac/Linux/Windows PC.
Download and listen to your music, playlists, and podcasts, along with album art and metadata