|deezpy-dev a152733f07 Merge branch 'fix-new-api' of peguerosdc/Deezpy into master||3 weeks ago|
|LICENSE||1 year ago|
|README.md||1 month ago|
|deezpy.py||3 weeks ago|
|deezpyrc||1 month ago|
|requirements.txt||1 month ago|
Deezpy is a Deezer track downloader and decrypter, written in Python 3. It is made to be a minimal and open Deezer downloader, with no obfuscated code. Deezpy is commandline only so it is very lightweight, and there is still room for improvement.
To run the script, you must first download some dependencies. Deezpy is made with as few non-standard libraries as possible in mind. The non-standard libraries needed are
You can install them by running
pip install -r requirements.txt in the deezpy folder.
pip install requests cryptography mutagen pathvalidate or using the packagemanager of your choice is also an option.
After this, you can just download and run the script like any other Python script.
Before you can run Deezpy you must make a config file, or download the template config file from the repo. Deezpy searches for a
deezpyrc configuration file in the relevant config folder for your OS.
If you have Windows, this is in
%APPDATA%, for macOs and Linux, this is in
If it can't find a config file there, it searches the folder from where you run the script from. By default, Deezpy generates the download directories in the directory from where you run the script, so it is recommended to run Deezpy inside a new directory. You can change the downloadpath to a path outside the Deezpy folder by editing
deezpyrc. Beyond these, no other config files or temporary files are created.
Deezpy needs to login to Deezer to function properly. You need to edit your config file and paste your user token in it.
The user token is obtained by logging in to the Deezer website. The next steps can differ per browser.
arlcopy the Value
There are two ways you can interact with the script: via an interactive mode or via commandline options. The interactive mode is lauched by default, when no commandline arguments are given.
The commandline options that can be given to the scipt are:
If the preferred quality is not available for a file, Deezpy will try to download the file in one quality step below your preferred setting. If this quality is also not available it wil download the file one quality step below that and so on.
If you want to change the quality setting, you can edit the
deezpyrc file. The quality settings are as follows:
There are many options available for the path specification. For album tracks:
For album covers:
You can modify these to your liking by editing the settings file. The forward slashes indicate a new folder. The default path specifications serve as an example.
Thanks to the author of a script on codegists.com, where I based my script on. That page is now gone, though. Special thanks to the team maintaining DeezloaderRemix, without their code Deezpy would not have been here today.