Pages

Friday, July 9, 2021

How to download high-quality music from Deezer - Getting your own ARL

If you don’t know what Deezer is, it is a french music streaming service just like Spotify and Tidal. It is free to use with ads and a lower sound quality. Because Deezer also offer a more expensice “Deezer HiFi” subscription they also store music in lossless FLAC files.

The good thing is that these files can be downloaded very easy and very fast in DRM free FLAC with just the free subscription. This can be done in many ways, but here I will explain maybe the easiest way.

Get token from cookie


Use Google Chrome and go to Deezer.com and log in to your Deezer account (Create a free account if you don’t have one already).

When logged in click F12 to open up Google Chrome’s developer settings.
Go to Application in the top-menu and expand Coockies in the left menu. Then click on https://www.doozer.com.
Find arl and copy it’s value. This can be done by marking it and right click, then Edit Value. Copy the value.

Example on token:
555c699f5fbd1caab8dfef52ffcfef107c75845afd7448967da2672492fb338a868fe27d9364fa9144f06988dbb54548c07004467b912ceb179eea85167d0fb54e3a6aa9efd51535b5d7619c790461c35210c16cdd2d09b29cf29bc0953086a4

Application (Windows)

go to https://deezloader.site/download/ and download the Windows version.
Install and run the program.
Go to Settings and paste your token in the userToken field and click UPDATE USERTOKEN.

The message You are logged in as … will show. Click SAVE.

If you now go back to Settings there is a lot of settings available to customize download location and formatting.
I recommend to change Preferred bitrate from MP3 320kbps to FLAC 1411kbps if you want the best possible sound quality.

Now you can search throughout the library and download whatever you want. Enjoy!

Getting your own ARL

Deezer keeps track of login session by using a cookie called ARL.
deemix uses that cookie to get the metadata that it needs to download the tracks from Deezer.
ARLs last for 3 months, after that Deezer asks you to log in again. The same method is used in deemix
Following one of the guides below you can get your own account ARL.

PC

Chrome (Easy way)

  • Open Chrome
  • Go to www.deezer.com and log into your account
  • Click on the little “lock” icon next the URL
  • Click on Cookies > deezer.com > cookies > arl
  • Select the string next to Content, and Copy
  • That’s your ARL, now you can use it in the app

Chrome

  • Open Chrome
  • Go to www.deezer.com and log into your account
  • After logging in press F12 to open up Developer Tools
  • Go under the Application tab (if you don’t see it click the double arrow)
  • Open the cookie dropdown
  • Select www.deezer.com
  • Find the arl cookie (It should be 192 chars long)
  • That’s your ARL, now you can use it in the app

Here’s a video guide

Firefox

  • Open Firefox
  • Go to www.deezer.com and log into your account
  • Afer logging in press F12 to open up Developer Tools
  • Go under the Storage tab (if you don’t see it click the double arrow)
  • Open the cookie dropdown
  • Select www.deezer.com
  • Find the arl cookie (It should be 192 chars long)
  • Make sure only copy the value and not the entire cookie
  • That’s your ARL, now you can use it in the app

Android

Firefox

  • Install firefox (if you don’t have it)
  • If you have the android Deezer app, its better to uninstall it, so it doesn’t launch after login
  • Get some extension to change your useragent (UserAgent Switcher)
  • Get the extension “Cookie Manager”
  • Change your useragent to some browser on pc (eg. Chrome on Windows 10)
  • Login to deezer.com
  • You need to see the home page of deezer. If you don’t see it you did something wrong.
  • Go on cookie manager and search for “arl”
  • Copy the value
  • That’s your ARL, now you can use it in the app

IF AFTER LOGGING IN YOU CAN’T FIND THE ARL COOKIE OR YOU GET SENT TO THE PLAYSTORE THEN YOUR USERAGENT CHANGER DIDN’T WORK

Thanks to uh hey for the Android method


via https://flemmingss.com/how-to-download-high-quality-music-from-deezer/ and https://codeberg.org/RemixDev/deemix/wiki/Getting-your-own-ARL

No comments:

Post a Comment