Downloading Songs from Soundcloud

The next task

I’ve been fiddling around with HypeMachine for quite a while now even though my personal music taste has taken me elsewhere in search of music. Lately, I’ve been enjoying subscribing to individual artists on Soundcloud as a way of finding more niche electronica.

My experience so far with Soundcloud has been great. They even let you download some songs based on settings set by the artist! I however want the music while I’m on the go; especially on my jogs. I’ve now moved onto the task of seeing how I can liberate much of my beloved music from Soundcloud similarly to what I’ve accomplished with HypeMachine.

Investigation

Once again most of the information gleamed was from saving the raw HTML of a request to SoundCloud outside the browser (i.e. via python or perl). They look to be doing something similar to HypeMachine in removing certain HTML elements because I cannot find them when I view source through my browser.

We can see one of the track elements is the streamURL:

"streamUrl":"http://media.soundcloud.com/stream/WtquUHiysWgk?stream_token=H7TPl"

Node.JS Style

Grabbing the bufferTracks variable can easily be accomplished in Node.JS with the help of the jsdom. I’d simply need to build the DOM according to the HTML file and access the JavaScript variable! I’m curious if there is even an easier way…. Drop a comment if you know of one!

4 Replies to “Downloading Songs from Soundcloud”

  1. the firefox extension downloadhelper allows downloading of ANY streaming content. It’s probably far off for the answer you’re looking for but it may be a more flexible batch download approach if you can figure out how that works.

  2. I’m not sure where you’re getting your info,
    but good topic. I needs to spend some time learning much more or understanding more.
    Thanks for great info I was looking for this information for my mission.

  3. June 18, 2012 6:45 am by excellent isesus altogether, you simply won a emblem new reader. What could you suggest in regards to your put up that you just made some days in the past?Any certain?

Leave a Reply

Your email address will not be published. Required fields are marked *