search

Sunday, March 22, 2015

How to download tracks from deezer

UPDATE 07/11/2015: Use DeezerDownloader (http://www.share-online.biz/dl/9E8R25VNC5C) to download tracks

---------------

There is a nice service deezer.link which allows you to download tracks from deezer. All you need to do is to copy and past unique link of the track from deezer. It would be good to automate that process for albums and playlists.

adeezer project was created exactly for that purpose. It is cross platform and is known to work on Windows and Linux (should also work fine on OSX).

Download and extract the latest version from here or clone the repository with command:
git clone https://github.com/jsnjack/adeezer.git


The recommended way of using adeezer is with virtualenv, but you can just install all dependencies and start using it:
pip install -r requirements.txt








Some examples of using the script:


  • Download the playlist with id 101
    python adeezer.py -p 101



  • Download the album with id 321
    python adeezer.py -a 321



  • Download all your favourite tracks
    python adeezer.py -f 1000

    Where 1000 is your deezer id. You can also use your username or email instead of id.


  • All tracks are downloaded in your <home_directory>/Downloads/<item_id>. To populate ID3 tags of downloaded tracks use that command:
    python add_tags.py <path_to_folder> "<album_name>"


    Windows users might have some problems with quick start, because python and pip is not installed in their system by default. Here is quick start guide for them:
    1. Download and install ActivePython 2.7 from http://www.activestate.com/activepython/downloads

    2. Download and extract adeezer from https://github.com/jsnjack/adeezer/archive/master.zip

    3. Install dependencies. Run from commmand prompt:
    pypm install mutagen progressbar2 requests selenium wsgiref


    4. In Command prompt go to the directory with adeezer.py and use any command from that article to download tracks

    No comments:

    Post a Comment