If you're like me, you're probably worried about what's going to happen to all of your liked tracks on Soundcloud if it shuts down soon. Luckily downloading all of the tracks you've liked is super easy with a Python library called scdl. Here's how:
Make sure you have Python >= 3.3.x installed. This is simple to check. Just run
python3 --version. Remember which of these showed a version number greater than 3.3.x
(If python isn't installed, simply go here and follow the instructions to install python)
Now use pip to install scdl. The command for this is either
pip install scdlor
pip3 install scdldepending on which command worked for you earlier.
To access your profile and likes, scdl needs your soundcloud access token. To get this go to this site and log in. Copy the access token it provides. Open up the scdl config file located at
~/.config/scdl/scdl.cfg. Simply add your access key in the
auth-tokenfield and you're good to go.
The last thing to do is to run the scdl command. Navigate to the directory you want the tracks to be downloaded to and run
scdl -l https://soundcloud.com/<USERNAME> -f -creplacing
<USERNAME>with the username (probably yours) which you would like to download the likes of. For me this command was
scdl -l https://soundcloud.com/ajn0592 -f -c. This command says to download all liked tracks from the provided links and continue if a duplicate track is encountered. You can run this command as many times as you want and only new liked tracks will be downloaded.