You'll need to add your Spotify and deezer account information to the account_info.json
file. This file will be generated upon the first execution of main.py
. Once it's there, gather the information following the steps below and paste it in. To verify the .json
file is still formatted correctly, you can use https://jsonlint.com.
You are not giving me your password! These tokens are used to avoid sharing your password. All of this data is stored locally in the account_info.json
file, and is sent exclusively to Spotify or deezer. This is safe.
- Go to https://open.spotify.com/. Sign into your account.
- In the top right, click your display name, then
Account
. - Your
Username
should be the first field on this page.
- Go to https://developer.spotify.com/dashboard/login. Sign into your account.
- Select
CREATE AN APP
. - The
App name
andApp description
are irrelevant. ClickCREATE
when you're ready. - In the application's menu, click
Edit Settings
. Add the URLhttps://example.com
in theRedirect URIs
field. Save it. - Your
Client ID
will be near the top right, under the app name/description.
- In the same app you created above, click
SHOW CLIENT SECRET
. - Your
Client Secret
will appear.
(Copied from here)
- Open Chrome.
- Go to deezer.com. Log into your account.
- Click the lock icon to the left of the URL in the address bar.
- Click on Cookies > deezer.com > Cookies > arl
- Select the text next to Content and copy it.
- Open Firefox.
- Go to deezer.com. Log into your account.
- After logging in, press F12 to open up Developer Tools.
- Open the Storage tab (if you don't see it, click the double arrow).
- Open the Cookies dropdown.
- Select https://www.deezer.com
- Find the
arl
cookie. It should be 192 chars long. - Double-click the value and copy it.
You will have your ARL copied.
In the end, your account_info.json
file should look something like this:
{
"SPOTIFY_USERNAME": "sf08ug804h302gn02200g42",
"SPOTIFY_CLIENT_ID": "gi8h492gneisowo3ggs",
"SPOTIFY_CLIENT_SECRET": "fgn8932hfiewnoi32g42",
"DEEZER_ARL": "g4j02g9jeiodsjgo4ww"
}