/ server

Make daily saves of all your soundcloud songs on your computer or server 🔈

In this tutorial I'll show you how to setup your own server or computer to daily download and save all your soundcloud's likes and reposts.

Requirements

  • A unix based computer (Mac or Linux)
  • Basic knowledge of unix command line
  • (Your own dedicated server (a small VPS can be enough)).

Let's do it !

First you'll need to install scdl on your system, who depends on python 3.4 :

pip3 install scdl

  • Or using the source from the repository :

git clone https://github.com/flyingrub/scdl.git && cd scdl

python3 setup.py install

Once installed, you can give it a try using the command :

  • To dl a particular song

scdl -l https://soundcloud.com/high-klassified/high-klassified-no-ongaku-cover-art-by-lndmrk

  • Or all the likes of a user

scdl -l https://soundcloud.com/pandabeats_fr -f

I'll let you discover the different dl options of this tool by yourself.

Now you'll have to edit a new crontab. For example if you want to download your likes every day at midnight :

  • Edit the crontab

crontab -e

  • Add a similar line at the end of the file :

00 00 * * * /usr/local/opt/python-3.4.3/bin/scdl -l https://soundcloud.com/pandabeats_fr -f -c --path <path/to/your/folder> --onlymp3
* Where 00 00 * * * means execute at midnight every day
* /usr/local/opt/python-3.4.3/bin/scdl is the path to the binary file of scdl software. I recommend using the absolute path instead of the alias scdl because crontabs doesn't handle aliases.
* -l https://soundcloud.com/pandabeats_fr -f means favorites of user pandabeats_fr.
* -c allows you to download only the new songs
* --path <path/to/your/folder> specifies a particular destination path
* --onlymp3 tells the script to download only in mp3 format

Then save the file and you are ready to go !