Using Firebug to download songs from Myspace
Ah yes, one of our favorite things (Firebug) can be used to workaround song downloads on one of our most least favorite sites in the web world - Myspace.
There have been previous solutions all over the place for downloading any song off of Myspace, but just about every solution has been blocked with time. Up until now. Thanks to the power of the Firebug extension for Firefox, grabbing your favorite tunes from Myspace is just a few steps away.
Important! Please respect your band's music! As a supporter of music because of how essential it is to many designers including myself, use this method sparingly. (Myspace isn't exactly "Top Quality" anyways.)
Step One: Get the Plugin
The first step is to make sure you have the firebug plugin installed and updated for your version of Firefox. Once that's set, you're ready to begin.
Step Two: Visit bands Myspace
Head over to your intended artist's Myspace page and bring up Firebug by going to tools, firebug in the menu, or simply clicking the check mark in the right corner of Firefox (or, because this is Myspace, it could be a red X listed a huge amount of code errors.)

Use the built in Firebug search to find "mp3". It will bring you up to some object tags, which you'll need to expand. You'll than see a big jumble of code, with the most important line being the last one.
<param value="11906" name="_cx"/>
<param value="9128" name="_cy"/>
<param value="" name="FlashVars"/>
<param value="http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2UuY29t&t=X5Zw5I1tk54a71P8fMKJnQpbddbteD70Bam4bAWgd138M7RoPCuAfR7wzr/fsgpfKGkaeSgeDo0YPqml+4bScg==&u=LTE=&a=0&d=ODcyODg0M14xMTY5OTI1ODIz" name="Movie"/>
<param value="http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2UuY29t&t=b1pN2eEzKrfYSxiB3wpe7+tiOJu6RzW2wb6jQlg9FgUxR3uOdV3DAmdr70WCbHHgGcWYd8QGfT9uCuk7nGie1A==&u=LTE=&a=0&d=ODcyODg0M14xMTY5OTI1ODIz" name="Src"/>
<param value="Window" name="WMode"/>
....
<param value="1" name="SeamlessTabbing"/>
<embed width="450" height="345" align="" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="mp3player" bgcolor="#FFFFFF" quality="high" src="http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2UuY29t&t=CiRg+LmSa1H6QjcC+e/TykKN4oRCt5Wyh9/7FNXMWo10RIGfM43EsgYN1sQsI2PnwmL8Ibq3JeypyvLUDqe6CA==&u=LTE=&a=0&d=ODcyODg0M14xMTY5OTI1ODIz"/>
</object>
We're concerned with the embed code. Copy the "src" and paste it into the address bar.
Step Three: Using Firebug to pull the Url
Once you've pasted the url of the media player into your address bar, hopefully you've advanced to the page. You should now be seeing a blown up version of the mp3 player for your intended band. With Firebug open, select the "Net" sub-tab and then click a song from the player.
Because the Net inspector watches sites load in real-time, the inspector will refresh with a few different things. They will include album artwork, a hit counter, some random token, and the url to the mp3 file itself.

By rolling over each area, you'll be able to see the expanded url. The url to the media file will most likely start with "http://cache...". Copy this url and you're all set.
Step Four: Getting the Mp3
You will most likely need to paste your newly copied url into an html page so you can right click to "Save Target As..". If all went well, you should be able to download an Mp3 which will have a random string name, but it should be the file you were looking for.
Update: I think I've found the problem with many of your downloads. Even with the player still open, the random tokens have a time bomb I believe which causes them to expire quickly. Therefor, if you haven't downloaded the file fast, you'll end up with a small and useless download instead of the real thing. I think the timebomb may be 30 seconds, so try to get your downloads started fast. If it fails, just try again.
The lesson here
Firebug is a powerful script that every developer should be using, and Myspace is a horribly coded site.
Note: One of our readers pointed out that the Myspace player page must remain open when you attempt to download the song, otherwise the token will expire and the download may not work.
This Article has been Updated
We've updated this article for those of you who have been having trouble. Please refer to the new post if you're still stuck with downloads.


Want an avatar? Get a gravatar! • You can link to this comment
I love firebug. It is invaluable when debugging JavaScript. Come firebug with the web developer toolbar and you have some awesome power.
Want an avatar? Get a gravatar! • You can link to this comment
It works just as well, and with slightly more ease, for Pandora too. Just follow the request with an MP3 like file size and you’ll be presented with an octet-stream; save as MP3 and rename accordingly.
Want an avatar? Get a gravatar! • You can link to this comment
I am stuck at step four. How do you paste the url into a html page?
Want an avatar? Get a gravatar! • You can link to this comment
I used wget as step four:
wget –load-cookies= “url”
Want an avatar? Get a gravatar! • You can link to this comment
It looks like a snazzy device, but I’m having big issues with this whole MySpace thing (I hate the site, but some of the music is SO GOOD!).
I can only ever download a 14 byte mp3 file, that of course, doesn’t work. And I followed your (clear) steps exactly. Can you enlighten me?
Want an avatar? Get a gravatar! • You can link to this comment
I too cannot get this to work. When i load the url to get the mp3 file i get a page that says access is denied. does this still work?
Want an avatar? Get a gravatar! • You can link to this comment
Two things: Are you keeping the player open when you attempt to download? If the token expires, that’s when you’ll get a super small download that is not the song you’re looking for.
And it should still be working, as unlike other methods, this is pulling urls from the flash, so even if it changes, Firebug will still be loading the urls from the player’s xml.
And @YO – Copy the link and paste it into a notepad file and save it as link.html, open it up in a browser and right click, save as.
Want an avatar? Get a gravatar! • You can link to this comment
I also get the access denied if i paste the url into the address bar. When I paste it into a text file, and save it as html, and open it with firefox or ie7, I get a white page, with the url written in text. I can’t do anything with it. What am I doing wrong? please help…
Want an avatar? Get a gravatar! • You can link to this comment
I’ll test it again tonight and see if it still is working, but it should be.
Want an avatar? Get a gravatar! • You can link to this comment
i got it in the notepad document, you have to put the html tag so that it comes up as a link in your browser. just put:
link tag
where “link here” is the url and link tag is the text that you click. now load the notepad document in your browser click the blue text and it’ll prompt you where to save your file and what to call it.
Want an avatar? Get a gravatar! • You can link to this comment
oops sorry meant to put
my resume
put that without the period after href
Want an avatar? Get a gravatar! • You can link to this comment
Did you get it to work Angel?
Want an avatar? Get a gravatar! • You can link to this comment
yes i got it. u have to put {a href=”link”}text{/a}
but with instead of {}. then right click and save as.. in your browser
Want an avatar? Get a gravatar! • You can link to this comment
I am still confused all of this. I now understand to put it in Notepad, but when I paste it into mozilla, the page just shows the link and nothing to click on.
Want an avatar? Get a gravatar! • You can link to this comment
when you put it into notepad you have to put it into html code like this:
<A HREF=”mp3 url”>text</A>
put the url where it says mp3 url and whatever you want it to say in text and save it as link.html. wen you load it in a browser you should see a link. right click it and save as wherever u want.
Want an avatar? Get a gravatar! • You can link to this comment
Thank you for your help. The download says that it is starting, so hopefully it will work because it has said that it is starting for awhile now. Maybe my computer is just slow.
Want an avatar? Get a gravatar! • You can link to this comment
Thanks Angel, it works for me to now… Sometimes I get the 14b file at first, but if I try again, it usually works…
Want an avatar? Get a gravatar! • You can link to this comment
I tried doing that and the page comes up after i click the link saying cannot find servor
Want an avatar? Get a gravatar! • You can link to this comment
getting accesed denied for some reason
Want an avatar? Get a gravatar! • You can link to this comment
I did everything right and it showed up in my desktop but when I try to open it in iTunes it doesnt work.
Want an avatar? Get a gravatar! • You can link to this comment
u dont click the link to access it u have to right click the link and select save link as then name it wutever
Want an avatar? Get a gravatar! • You can link to this comment
I have tried to download the songs, but I am not having any luck. When I use Internet Explorer and save target as it just make a noise and does not download. When I use Mozilla the download just stays at the “starting” status.
Want an avatar? Get a gravatar! • You can link to this comment
I have spent so much time on this and im still not getting it. im pretty sure i did everything right, but when i right click save link as, i enter in the name of what i want it to be and press save…but nothing happens. any suggestions?
Want an avatar? Get a gravatar! • You can link to this comment
ya whenever I go to right click and save as it just makes a noise like you cannot do it
Want an avatar? Get a gravatar! • You can link to this comment
Didn’t get a chance to check the method today, but I’ll have an update tomorrow.
It should be pointed out that if you have no html knowledge, this method is not for you! I have noticed this has been posted at random forums and stuff, but if you don’t understand html, your not going to understand the method above.
Want an avatar? Get a gravatar! • You can link to this comment
I’d like to know if this is still working for the people who said it was because I’ve exhausted every method suggested on this page several times (using several browsers) with little success.
Want an avatar? Get a gravatar! • You can link to this comment
I got it to work.
I had a html page open in notepad and was ready to paste just the address in my anchor tags.
Copy the entire url as AJ has said above. But there is one key thing you must do. The song must still be playing, so you have to be a little fast.
Start playing the song, copy the url, and quickly open up the html page in the browser. Right click and save. As long as the song is still playing, you’re good to go. When the song stops, you’re out of luck and you get the access denied.
I was able to download two songs this way, so it is still working.
Want an avatar? Get a gravatar! • You can link to this comment
Sorry AJ. Didn’t see that you updated the article.
Want an avatar? Get a gravatar! • You can link to this comment
I got it to work for me. I play the song, then attempt to open the song url in another tab. While the other tab is loading, I quickly go back to the music player and click the song I want to download. The download box comes up and then I save it. Simple
.
Want an avatar? Get a gravatar! • You can link to this comment
everything goes fine EXCEPT when i try to download it stays on starting and nothing else.any ideas ?
Want an avatar? Get a gravatar! • You can link to this comment
It actually works!!!!!!! whenever you get to the oversized mp3 play, copy the Cashe link, like stated.
Already have notepad open with this typed in
text
erase “mp3 url” and paste the Cache link! save as link.html, then open it and you can download the song
Want an avatar? Get a gravatar! • You can link to this comment
to download the full quality song, in the URL the address of the song will be something like
“std_slkdjflksdjflksdjg.mp3″
replace ’std’ with ‘full’ and ur done
=)
Want an avatar? Get a gravatar! • You can link to this comment
I must be doing it wrong because I can’t even find a link that says “http://cache”! They all say “http://mediaservices.myspace.com”.
Want an avatar? Get a gravatar! • You can link to this comment
Works!
Many thanks
Want an avatar? Get a gravatar! • You can link to this comment
pleaseee does anyone know what this means i do everything right and than its about to start downloading and it just stays on startin and if i press pause thanresume for the download it will say downloading but the bar wil not load up.
Want an avatar? Get a gravatar! • You can link to this comment
i did everything right but it says starting still and won’t download.
Want an avatar? Get a gravatar! • You can link to this comment
I had some trouble with this and am pretty good with html. I eventually got it to work, this method definitely works.
My mistake was pretty stupid and maybe others are making the same.
I was too slow on my first attempt. On subseqent attempts I was updating the url in the html file and saving it, but forgot to refresh the html page in my browser so I was constantly getting a zero length file (too slow result).
So if you are having trouble dont forget to:
copy url from firebug
paste into text/html doc
save doc!
refresh html page in browser!
right click link (it should be blue not purple)
Thanks to whomever put this together. I was able to get a song that I would have paid for but it has not been released yet.
Want an avatar? Get a gravatar! • You can link to this comment
You can also do a similar thing with Bebo bands by simply viewing the source of pages with the “Bebo mp3 button”!
Want an avatar? Get a gravatar! • You can link to this comment
yay it works! thank you lord!
Want an avatar? Get a gravatar! • You can link to this comment
wow! use gmail when you get to the “save link as…” stage. just send yourself an e-mail with the links and keep replying to them with the new url’s.
Want an avatar? Get a gravatar! • You can link to this comment
You may use direct sound recorder to record from MySpace or any other web-site. But I suggest you to use a stream ripper software.
The following page mentiones stream ripper software that allows to download not only MP3 music streamed through the HTTP protocol, but also through the RTMP protocol
http://stream-recorder.com/forum/showthread.php?t=320
After reading it you shouldn’t have any problem downloading mp3 songs from MySpace.
Want an avatar? Get a gravatar! • You can link to this comment
i’m doing everything right
i get the cache url open it and i get a page that says access denied.
What do i do?
Want an avatar? Get a gravatar! • You can link to this comment
Wow! Thank you all for the comments. Using gmail is very easy for someone without html skills to do – and just as someone suggested, typing in “full” instead of “std” gives you a full (128) quality song.
I’m an audiophile, and because of this hack I have been able to download songs that haven’t been released yet. Thank you all so much!
Want an avatar? Get a gravatar! • You can link to this comment
Sorry guys, this is not a support form! If you are not getting it to work, either keep trying or forget about the method, because most people are having success.
Want an avatar? Get a gravatar! • You can link to this comment
Yes it worked! Finally after many tries. Thank you so much.
Want an avatar? Get a gravatar! • You can link to this comment
Hello everyone. For those of you that need a link to turn into something you can right click and save as. You are welcome to use this small php script I created.
http://caseybritt.com/parse
Just paste the link that you want to be able to click into this form and hit GO! and voila you have a link. Feel free to use this and share it with your friends. Hope it helps.
Want an avatar? Get a gravatar! • You can link to this comment
Yays! It worked for me no problems! Thanks you =D
Want an avatar? Get a gravatar! • You can link to this comment
wow, talk about having to be quick with the mouse…that time expires on that file name real fast..way less than 30 seconds
Want an avatar? Get a gravatar! • You can link to this comment
It seemed to last at least 30 seconds for me. Everyone just seems to be having different results.
Want an avatar? Get a gravatar! • You can link to this comment
Works for me! Thanks a MILLION!
Want an avatar? Get a gravatar! • You can link to this comment
PS. Thanks a million to you casey!
Want an avatar? Get a gravatar! • You can link to this comment
man, you gotta really want to copy the music if you are using this method… it takes some real effort to do this. the most aggravating thing is that firefox keeps crashing – using firefox version 2.0.0.1 on winxp pro, version 2002, serv pack 2; p4 @ 2.8 ghz w/1.24 gb ram
Want an avatar? Get a gravatar! • You can link to this comment
I have still had absolutely no problems. The method works without a hitch.
Want an avatar? Get a gravatar! • You can link to this comment
man i still cant get this to work. my dl status is just starting. ive done everything stated and nothing to show for it any suggestions?
Want an avatar? Get a gravatar! • You can link to this comment
This is how I got it to work. When I say the page load up and the song started, I looked for the biggest file size, and that is the cache link, I would quickly copy the link, open Mozilla then edit my own webpage put the hyperlink in, save it then open the html file and right click save as, most of the time it starts right away, sometimes it takes a few secs. Try that
Want an avatar? Get a gravatar! • You can link to this comment
“I would quickly copy the link, open Mozilla then edit my own webpage put the hyperlink in, save it then open the html file and right click save as”
sorry i’m kindda slow in the head can you explain again what you ment, i’m stuck at the starting status…
Want an avatar? Get a gravatar! • You can link to this comment
Yo guys it is working!!!!!!!!!!!!!!!!!!!@!@!@!!
i used the wm recorder like someone said above,
and after i installed the program and clicked the song
the wm recorder done all the job for me it was so easy
but it’s only a demo.
Want an avatar? Get a gravatar! • You can link to this comment
Hey I got to work by accident.I accidentally messed up and that was the right way to do it.YEEEEEEEEEEEAAAh!
Want an avatar? Get a gravatar! • You can link to this comment
It took a while for me to get the hang of it, but as of 3/2, this method works. Thank you so much!
Want an avatar? Get a gravatar! • You can link to this comment
Casey’s script works like a charm i just copy and paste and bam it works
Want an avatar? Get a gravatar! • You can link to this comment
So does following the directions
Want an avatar? Get a gravatar! • You can link to this comment
wow this actually works! although i copied the link and used a downloader instead of putting the link on a browser.
Want an avatar? Get a gravatar! • You can link to this comment
This is phony, it doesnt work
Want an avatar? Get a gravatar! • You can link to this comment
It works fine, people just don’t know how to read directions.
Want an avatar? Get a gravatar! • You can link to this comment
holy crap real easy way as stated by someone above (excuse me for not naming you)
When you get the cache file paste it in another page
go back to the page you got the link from, click the song you wanted
a download pops up… click ok, very simple
Want an avatar? Get a gravatar! • You can link to this comment
** the cache URL not file
Want an avatar? Get a gravatar! • You can link to this comment
how do i open up the notepad page that i saved my html onto and load it onto my browser?
Want an avatar? Get a gravatar! • You can link to this comment
I was trying, using “Live HTTP headers” plugin.. i managed to get the url for the mp3 with a valid session.. but none of my methods worked when i tried to save the mp3 file. “Save Link As” method after giving it in a new html file really worked. yeppii..
thanks a lot….
Want an avatar? Get a gravatar! • You can link to this comment
It doesn’t let me copy the mp3 player url in firebug. Any help?
Want an avatar? Get a gravatar! • You can link to this comment
Ok, I was able to use this hack and it works very well, except I ran into a myspace page that uses an ESNIP player and it did not quite work for that. Wondering if anyone has any ideas.
Want an avatar? Get a gravatar! • You can link to this comment
!!FIGURED IT OUT!!!!
THE NEW TECHNIQUE THEY ARE USING FOR mini.swf with calls to cache01-music01
they call a generic mp3 link with these parameters:
bandid
songid
token
and some other garbage..
all of the stay the same but from request to request i noticed that the token changes. I assume that once their server hands out an xml with a token… ti makes the file available only ONCE for that token… so if the mini.swf requested the file before you can put it in the browser and download it (which is impossible for you to do) then that ONE call to the file is made and is now un-accessible
how to get around it…
as above… find the xml that fives all the info… there will be a token tag in there… refresh that page until you get a new tag… use that tag (which is now a new one) to call the new link to cache01….
it works 100% of the time.
good luck…
ps… dont ask me any questions because i wont come back to this site any time soon… ciao guys
Want an avatar? Get a gravatar! • You can link to this comment
After so many tries.. It finally works!
Thanks a whole bunch.
Want an avatar? Get a gravatar! • You can link to this comment
lol! it worked! this procedure MAY TAKE SEVERAL TRIES, so if you encounter a problem, don’t fret. it does work, as it did for me.
important thing is the, TIME BOMB, which requires you to copy the URL (from Firebug’s net stub) as fast as you can into a d/l manager (i prefer this over pasting onto an address bar)
Want an avatar? Get a gravatar! • You can link to this comment
It works! THANKS A BUNCH!!!
Want an avatar? Get a gravatar! • You can link to this comment
quick question so a site could pretty much destroy this method downloading the files if they were to make the cache control private,must-revalidate,no-store,no-cache. I was just wondering b/c im trying to use this same method on purevolume but they are a bit trickier. ive looked at it a bit but haven’t come up with anything. i think i need more then one head trying to figure it out
Want an avatar? Get a gravatar! • You can link to this comment
I Keep Getting The 14b One…any suggestions?
Want an avatar? Get a gravatar! • You can link to this comment
i tried to download a song from a website and I only got a quicktime bar without a download box…
Want an avatar? Get a gravatar! • You can link to this comment
alright, then after that i can just go to file > save page as > and add .mp3 to it and it works just as good without the time bomb, which is pretty cool… that might just be mine, i dunno.
Want an avatar? Get a gravatar! • You can link to this comment
This is so so so sweet. Thanks
Want an avatar? Get a gravatar! • You can link to this comment
guys, u r great!!!
It couldn’t be more clear, thanx for the guide. Now I have the song, I couldn’t get from anywhere else.
thanx again
Want an avatar? Get a gravatar! • You can link to this comment
WORKS FOR ME!!!!!!!!!!!!!!..WOOOOOOOHOOOOOOOOOO!!..ezy pizzy!:D
Want an avatar? Get a gravatar! • You can link to this comment
yay it finally worked for me!!!!
Im just having trouble doing it with other songz lol…….
but the dude who gave the url http://caseybritt.com/parse/
had a huge part in my success so all kudos to him and AJ…or whoever posted this tutorial
Want an avatar? Get a gravatar! • You can link to this comment
don’t work for me
“error loading xml document”
the site is http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=81610410
help me please
Want an avatar? Get a gravatar! • You can link to this comment
Comments are now closed. If you can’t get it, read the directions