2024-03-02 12:36:36 -03:00
2021-12-25 22:38:24 +01:00
2021-12-25 22:38:24 +01:00
2024-02-10 20:33:59 +01:00
2023-08-02 21:48:40 -03:00
2024-03-02 12:36:36 -03:00

orpheusdl-deezer

OrpheusDL module for downloading music from Deezer

Fork description

Thanks to uhwot, the original project that made this possible!

What's changed?

  • Better README.md
  • Login with ARL Token
  • bf_secret and track_url_key easily acessible
  • AGPL-3.0 license

QA

Isn't ARL Token only used for piracy?

Many people believe that, even the official developer (that's the reason he/she did not implement ARL login themselves).

That is incorrect. There are many legitimate uses for it. As an example, people might share an account and use the token to login.

So, you support piracy?

No
If you want to use this module for illegitimate purposes, that's your problem. This is not made for this purpose, and I do not support it.

Uh, you got a token bro?

Sure, find one here:
deezer.com/offers

Again, I'm not facilitating piracy. Issues or discussions related to pirated use will not be accepted, since the focus is legitimate use cases only.

Getting started

Prerequisites

Installation

  1. Clone the repository from your orpheusdl directory:
    git clone https://github.com/nanometer5088/orpheusdl-deezer modules/deezer

  2. Create the settings file:
    python3 orpheus.py settings refresh

  3. Update config/settings.json with your Deezer ARL Token:
    python orpheus.py

  4. Include bf_secret and track_url_key from the mirrors

Mirrors

bf_secret and track_url_key cannot be included in the code.

You can find their correct values on any of the mirrors below:

Configuration

Global

download_quality:

Value Format
"hifi" 16-bit 44.1kHz FLAC / 360RA if available and spatial_codecs is enabled
"lossless" 16-bit 44.1kHz FLAC
"high" MP3 320kbps
"medium" MP3 320kbps
"low" MP3 128kbps
"minimum" MP3 128kbps

spatial_codecs:
Enables 360RA downloads if download_quality is set to hifi

main_resolution:
Maxes out at 3000px
If original cover size is smaller than the one specified, falls back to 1200px

Deezer

Setting Description
client_id Client ID used for login
client_secret Client secret used for login
bf_secret Constant for deriving key used for track decryption
track_url_key Key used for legacy track URL generation
prefer_mhm1 Downloads MHM1 360RA formats instead of MHA1
arl Account token used to login without user/pass
username DO NOT MODIFY - LOGIN WITHOUT ARL IS DISABLED
password DO NOT MODIFY - LOGIN WITHOUT ARL IS DISABLED
Description
No description provided
Readme 96 KiB
Languages
Python 100%