Rip and decode mp3s via myspace music player

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.

  4. You should see something that looks like this: “http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b=26949175“.
  5. Visit the URL
    • You will find the “durl” eg: durl=”http://cache02-music01.myspacecdn.com/16/std_8f66fa49e964209826356ce9f579541f.mp3″.
    • You will also find the title=”Into The Dark Ferry Fix”, which is useful when saving, to give them real names.

So in case you didn’t notice, all you really need is the “FriendID” and the 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.

Resources