Myspace Song Downloader- Right now I'm figuring
out how to directly download a song from someone's Myspace page(the artist ones
too). So far I've been able to intercept some connections and see the format of how the flash player
"talks" to Myspace to download the song. The player sends a request to something
like this.
the output is an xml file that has the information on downloading the mp3. It's
<songplay>
<bandname>
</bandname>
<songname>
</songname>
<filepath>
</filepath>
<time>
</time>
<autoplay>
</autoplay>
<downloadable>
</downloadable>
<token>
</token>
<durl>
</durl>
<curl>
</curl>
</songplay>.
The most important ones
are filepath, token, and curl. Durl is the same as curl, but with something like
"bandid=2704464&songid=64458707&p=NDYvNDQvMjcwNDQ2NC8yNzA0NDY0XzhiZWZiODBi"
added onto it.
Then the player takes the token and goes to something like this url:http://mediaservices.myspcae.com/services/media/token.ashx?b=2704464&s=64458707. It got the b= from bandid, and s= from songid in the durl parameter of the xml file.
Then it makes the final connection for the download. the url this time ishttp://cache09-music01.myspacecdn.com/71/std_ef71ad21362944119beeb9f160a618b8.mp3?bandid=2704464&songid=64458707&token=1201556983_8ddc7d64086e8667e89279cb289ad8e3&p=NDYvNDQvMjcwNDQ2NC8yNzA0NDY0XzhiZWZiODBi&a=1.