Simple python lib wrapper to download songs from :
- Deezer
- Youtube
- Soundcloud
Made to work with playlists.
All downloads are made in MP3 320 kbit/s.
yt-dlp : youtube info gathering tool package. Licensed under Unlicense
py-deezer : deezer info gathering tool package. Licensed under GNU GPL v3.0
Tested on Python 3.9.2
Pip version : 20.3.4
See requirements / setup file
arl: it's the token used in your cookies that deezer API use You can get it in the cookies using your browser when connected to deezer (variable : arl)
Clone the repo
$ git clone https://github.com/Schwarzion/MakeTheDl.git
$ cd MakeTheDl
$ python setup.py install
Before every commands (ensure configs are taken in account)
cd /path/to/dir/with/.env/file
Add completion to your bash (Using typer)
$ makethedl --install-completion
Help
$ makethedl --help
Example
$ makethedl deezer
This package is using a .env file Be sure to copy .env.example file and provide all the informations you need in order to start
.env.example |
---|
[Deezer]
DEEZER_ARL=<Deezer_ARL>
DEEZER_DL_LOCATION=</path/to/wanted/location/for/deezer/songs>
DEEZER_PLAYLIST_ID=<Playlist_ID>
[Youtube]
YT_PLAYLIST=<Youtube_Playlist_Link>
YT_DL_LOCATION=/path/to/wanted/location/for/youtube/songs
#Where download archive should be placed (differential download)
YT_ARCHIVE_DIR=/path/to/archive/directory
[Soundcloud]
CLIENT_ID=
AUTH_TOKEN=
PATH=
NAME_FORMAT=
PLAYLIST_NAME_FORMAT=
DEEZER_DL_LOCATION=/path/to/wanted/location/for/soundcloud/songs
- Windows paths handling
- Unit testing
- Improved CLI
- Automated package publishing from tags
- Conf file (not .env)
- Archive management (differential download) :
- Deezer
- Youtube
- Soundcloud
- Not rely on download libs -> build every downloader from scratch :
- Deezer
- Youtube
- Soundcloud
Never use this package illegally against any of :
- Deezer terms of use
- Soundcloud terms of use
- Youtube terms of use
None of the maintainers / developers can be held responsible for misuse of this package.
Licensed under MIT