LinuxCommandLibrary

deemix

Download music from Deezer without subscription

TLDR

Download a track or playlist

$ deemix [https://www.deezer.com/us/track/00000000]
copy

Download track/playlist at a specific bitrate
$ deemix --bitrate [FLAC|MP3] [url]
copy

Download to a specific path
$ deemix --bitrate [bitrate] --path [path] [url]
copy

Create a portable deemix configuration file in the current directory
$ deemix --portable --bitrate [bitrate] --path [path] [url]
copy

SYNOPSIS

deemix [OPTIONS...] [URL]

PARAMETERS

-h, --help
    Show help message and exit

-v, --version
    Display version information

--login
    Open browser to generate .ARL login file

--arl <ARL_FILE>
    Path to Deezer .ARL cookie file

--arls <ARLS_FILE>
    Path to .arls file with multiple ARLs

-p, --path <PATH>
    Base download directory

--path-format <FORMAT>
    Custom folder naming format

-r, --release-type <TYPE>
    Download type: track|album|single|artist|playlist|chart

-b, --bitrate <BITRATE>
    Audio bitrate: FLAC|320|256|128

--aac
    Download AAC format

--opus
    Download Opus format

--device <DEVICE>
    Device ID: web|desktop|mobile|other

--http
    Use HTTP instead of HTTPS

--no-bar
    Disable progress bar

-l, --loglevel <LEVEL>
    Set logging level: DEBUG|INFO|WARNING|ERROR

--dev
    Enable developer mode

--legacy
    Use legacy download method

--older-albums
    Fallback for older albums

--multithread <N>
    Number of download threads

--cover <SIZE>
    Cover art size: 250|500|1000

DESCRIPTION

Deemix is an open-source command-line tool for downloading music from Deezer. It supports retrieving tracks, albums, artists, playlists, and charts in high-quality formats like FLAC, MP3 (up to 320kbps), AAC, and Opus.

Users must provide a Deezer account login token via an .ARL file, obtained from browser cookies after logging into Deezer. The tool handles metadata embedding, cover art downloads, and organizes files into folders based on configurable formats.

Key features include multi-threaded downloads, quality selection, device emulation for better access, and compatibility with various audio bitrates. It uses Deezer's API indirectly via login tokens, supporting both free and premium account capabilities.

Note: Always ensure you have rights to download content. Violating Deezer's terms or copyright laws is prohibited.

CAVEATS

Requires valid .ARL from a Deezer account; project unmaintained since ~2022; use only for authorized content to avoid legal issues and ToS violations; quality availability depends on account type.

INSTALLATION

pip install deemix or git clone https://github.com/remodoy/deemix-py.git && pip install -r requirements.txt
Run: python deemix.py

.ARL ACQUISITION

Login to Deezer in browser > F12 > Application > Cookies > Copy arl value to file.
Use --login for automation.

LEGAL NOTE

Intended for personal backups of purchased/subscribed content; unauthorized use may infringe copyrights.

HISTORY

Originated as deemix-py by remodoy in 2020 on GitHub; gained popularity for FLAC downloads; faced API blocks; forks like deemix-cartel exist; official repo archived in 2022 due to Deezer enforcement.

SEE ALSO

yt-dlp(1), youtube-dl(1), spotdl(1)

Copied to clipboard