1 minute read

I'm always looking for new ways to get my hands on mp3s, this is yet another way, thanks to myspace.

I figured out that there must be a way we can get our hands on the actual mp3 files found on the myspace music player.

All we had to do was decode their site so we are able to grab their mp3s.

For this example, you will need

Mozilla Firefox.

  1. Search for the myspace page of a band or artist. eg: ferry costen
  2. Visit their profile page. eg: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=26949175
  3. Look at the HTML code (CTRL+U in Firefox).
    • Find the “mp3player”.
    • Find a the “src=”http://lads.myspace.com/music/musicplayer.swf?n=a” line eg: src=“http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2UuY29t&t=2zZraik8ig5S9ktLf2NZejuI1axbBcWJV1tcidA7Df2ccYSYBeFi1X+rKSaHUvsuu+H+TZdIsFm1/Wos9jKd/Q==&u=LTE=&a=1&d=MjY5NDkxNzVeMTIwMTU0NzE0OA==”
    • Get the Live HTTP Headers addon for Firefox and open it to capture mode.
    • Visit the URL between the quotes.
<span class="attribute-value"></span></li> 

  * <span class="attribute-value">You should see something that looks like this: &#8220;<a href="http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b=26949175">http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b=26949175</a>&#8220;.</span>
  * <span class="attribute-value">Visit the URL</span> 
      * <span class="attribute-value">You will find the &#8220;<a href="http://cache02-music01.myspacecdn.com/16/std_8f66fa49e964209826356ce9f579541f.mp3">durl</a>&#8221; eg: durl=&#8221;http://cache02-music01.myspacecdn.com/16/std_8f66fa49e964209826356ce9f579541f.mp3&#8243;.</span>
      * <span class="attribute-value">You will also find the title=&#8221;Into The Dark Ferry Fix&#8221;, which is useful when saving, to give them real names.</span></ol> 

So in case you didn't notice, all you really need is the &#8220;FriendID&#8221; and the <span class="attribute-value"></span>mediaservices.myspace.com URL, and in future you can access the playlist for any band or artist, and download all the tracks they have on their profile.

It's worth knowing how to figure it out, in case their system changes.


  *  <http://himself.wordpress.com/2007/01/24/downloading-mp3s-from-myspace-bands-revisited/>
  * <http://tom.drastic.net/archives/11>
  * <http://forum.readingfestivalonline.co.uk/archive/index.php/t-33463.html>