Soundcloud is my favourite place to find new music and I often can’t find a way to buy the music elsewhere. There are online services that can help download the song mp3 from the url, but I decided to automate the process. With the help of Hazel and IFTTT, you should be able to click on the ‘like’ button and the mp3 will pop up in your iTunes.

Install Soundscrape: a command-line tool for downloading from soundcloud. Link soundcloud to your account on IFTTT and create a recipe that creates a text file in your Dropbox for every new public favourite. The content and file name should use the “TrackUrl” ingredient. Create a new recipe in Hazel with the following rules and this embedded shell script: for i in $( cat $1 ) ; do soundscrape $i >/dev/null 2>&1 & done Create another recipe to move the downloaded songs out of that folder and into the ‘Automatically Add to iTunes’ folder.

Edit: you could make an analogous workflow to scrape the mp3 from youtube videos, using something like youtube-dl. Let me know if you would like to see a second blog post detailing how.