Apple Music download tools built on top of gamdl.
| File | Description |
|---|---|
gamdl-gui.exe |
GUI downloader (double-click to run, no Python needed) |
gamdl-dl.exe |
CLI downloader (no Python needed) |
gamdl_gui.py |
GUI source (requires Python + gamdl installed) |
gamdl_dl.py |
CLI entry point source |
get-alac.ps1 |
ALAC download + FLAC conversion helper (requires WSL2 + Wrapper) |
amget.ps1 |
Interactive loop wrapper for gamdl |
flatten-music.ps1 |
Flatten Artist/Album subfolders into a single directory |
cookies.txt— export frommusic.apple.comusing Get cookies.txt LOCALLY Chrome extension- Place
cookies.txtin the same folder as the.exe
- WSL2 with Ubuntu (
Ubuntu-AMdistro) - WorldObservationLog/wrapper running in WSL2
ffmpegon PATH
- Export
cookies.txtfrommusic.apple.com - Place
cookies.txtnext togamdl-gui.exe - Double-click
gamdl-gui.exe - Paste Apple Music URL, choose output folder, click Download
set PYTHONUTF8=1
gamdl-dl.exe --output-path D:\music --song-codec-priority aac-legacy "https://music.apple.com/jp/..."Requires Python 3.12+.
python -m venv build-env
build-env\Scripts\pip install gamdl==3.5.1 pyinstaller
# CLI
build-env\Scripts\pyinstaller --onefile --name gamdl-dl `
--collect-all gamdl --collect-all yt_dlp --collect-all mutagen `
--collect-all httpx --collect-all click `
--hidden-import construct --hidden-import pywidevine gamdl_dl.py
# GUI
build-env\Scripts\pyinstaller --onefile --windowed --name gamdl-gui `
--collect-all gamdl --collect-all yt_dlp --collect-all mutagen `
--collect-all httpx --collect-all click `
--hidden-import construct --hidden-import pywidevine gamdl_gui.py- Set
PYTHONUTF8=1to avoid encoding errors with Japanese/Chinese track titles on Windows --album-folder-template ''does not work in PowerShell (empty string is dropped); useflatten-music.ps1to flatten output instead- cookies.txt expires every few days — re-export when you get a 403 error
- This tool is for personal use with an active Apple Music subscription