|deezpy-dev 17ee857546 remove unnecessary var||1 week ago|
|LICENSE||1 year ago|
|README.md||3 weeks ago|
|deezpy.py||1 week ago|
|deezpyrc||5 months 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, only around 600 lines of code. 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 with:
pip install requests cryptography mutagen or via the packagemanager of your choice.
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 isin
%APPDATA%, for macOs and Linux, this is in
.config. 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 userToken in it.
The userToken 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:
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.