https://hub.docker.com/r/j0n4n/deezspot_bot_docker
- I am not responsible for the usage of this program by other people.
- I do not recommend you doing this illegally or against Deezer's terms of service.
- This project is licensed under CC BY-NC-SA 4.0
Docker Variables:
-
MODE_BOT: (default: 2)
- 1 -> Test Mode.
- 2 -> Cool mode.
- 3 -> Test Mode (No zip).
- 4 -> Cool Mode (No zip).
-
WARNING_BANNING: (default: 4) number of flooding messaging when to ban a user.
-
USER_ERRORS: (MANDATORY) Chat id where to send users errors.
-
BUNKER_CHANNEL: (MANDATORY) Chat id to use as an archive
-
OWL_CHANNEL: (MANDATORY) Chat id where to listen for announcements to the users
-
ROOT_ID: (MANDATORY) User id to have admin access
-
METHOD_SAVE: (default: 3) Method of the naming schema for the song name.
- 0 -> "{album} CD {discnum} TRACK {tracknum}"
- 1 -> "{songname} - {artist}"
- 2 -> "{songname} - {artist} [{isrc}]"
- 3 -> "{discnum}|{tracknum} - {songname} - {artist}"
-
DOWNLOAD_DIR_MAX_SIZE: (default: 6) Directory max size in GB.
-
PROGRESS_STATUS_RATE: (default: 15)
-
TIME_SLEEP: (default: 8)
-
SECONDS_LIMITS_ALBUM: (default: 30000) In seconds
-
SECONDS_LIMITS_TRACK: (default: 7200) In seconds
-
UPLOAD_MAX_SIZE_USER: (default: 2) In GB
-
MAX_SONGS_PER_PLAYLIST: (default: 200) Maximum number of song in a playlist to be downloaded
-
MAX_DOWNLOAD_USER: (default: 3) Maximum parallel downloads per user
-
BOT_NAME: (MANDATORY) Username with the
@
of the bot. -
FORUM: (default: @)
-
ARL_TOKEN: (MANDATORY) Deezer ARL token.
-
EMAIL_DEE: (MANDATORY) Email to log in on Deezer
-
PWD_DEE: (MANDATORY) Password to log in on Deezer
-
BOT_TOKEN: (MANDATORY) Telegram bot token
-
API_ID: (MANDATORY) Telegram api id
-
API_HASH: (MANDATORY) Telegram api hash
-
ACRCLOUD_KEY: for acrcloud key look at acrcloud
-
ACRCLOUD_SECRET: for acrcloud secret look at acrcloud
-
ACRCLOUD_HOST: for host look at acrcloud
- Download the latest version https://github.com/dspearson/librespot-auth from the release tab
- Launch using:
- Premium:
.\target\release\librespot-auth --name LibreSpot
- Free:
.\target\release\librespot-auth --name LibreSpot --class=computer
- Premium:
- Open Spotify app and login
- Play a random song and select the
LibreSpot
as an audio device - Return to the command line and check the filed saved
- Modify the credentials.json:
- Replace the string
"auth_type": 1
with"type":"AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS"
- Replace the string
"auth_data"
with"credentials"
- Replace the string
- Then map the file to container in
/app/credentials/credentials.json
- Run the container, it should login with Deezer and Spotify
- the pyrogram api_id & api_hash can be created here
- for create a telegram bot look here
- for acrcloud key, secret, host look at acrcloud
- If you don't know how to get chat id send messages to him @JsonDumpBot
To obtain your Deezer ARL cookie, you can follow these steps:
- Firefox:
- Open Firefox and go to deezer.com.
- Log in to your account
- Click the three horizontal lines in the top right corner of the window to open the menu.
- Select Tools > Web Developer Tools.
- Click the Cookies tab.
- Search for the arl cookie and copy the value.
- Chrome:
- Open Chrome and go to deezer.com.
- Log in to your account
- Click the lock icon in the address bar.
- Click Cookies.
- Search for the arl cookie and copy the value.