Today we’ll show you an all-inclusive method that can grab songs from most, if not all, websites. The drawback? No automatic naming, the files are in FLV format rather than MP3, and you’ll have to drag them out of the cache yourself. However, user input is minimal, especially on playlist type websites.
The basic premise of the method is to kill the HTTP headers that tells the content to expire so that the content will be cached - where you then drag it out of the cache, convert it to MP3, and add it to your library. We’ll be using a small program called Proxomitron, and as usual, we’re focused on Firefox.
Set up Proxomitron
- Download and install Proxomitron. When you first run it, you’ll be greeted by a rather interesting (eye stabbing) interface. To change this, click Config and select Don’t use textures.
- Uncheck Web Page Filters, we will not need them. If you want, you can take a selective look by clicking Web Page under Edit Filters, but at least one of the default options interferes with the ability to use music streaming websites.
- Click Headers under Edit Filters. Check the following, but uncheck everything else:
- Cache-Control: always cache (in)
- Expires: always cache (in)
- Hit OK. At this point, Proxomitron is all configured. The next steps will deal with setting up Firefox to use Proxomitron.
Set up Firefox and Download Songs
- Open up Firefox. Head over to Tools → Options… → Advanced → Network → Settings, and hit Manual Proxy Configuration. Set it to use localhost and port 8080. Also check that the cache quota is sizable based on the amount of music you want to download at once (I have mine set at 50MB).
- At this point Firefox is configured to run its connection through Proxomitron, which will filter out the unwanted HTTP headers. Head over to a music streaming website of your choice and load up a song.
- Head over to the cache folder once it’s finished loading. You can do this step after loading a bunch of songs, as long as the number of songs you’ve loaded doesn’t grow beyond the cache size, at which point files start getting automatically pruned.
- On XP it’s C:\Documents and Settings\[username]\Local Settings\Application Data\Mozilla\Firefox\Profiles\[random].default\Cache
- Vista: C:\Users\[username]\AppData\Local\Mozilla\Firefox\Profiles\[random].default\Cache
- Portable Firefox: \FirefoxPortable\Data\profile\Cache
- Convert the .flv file to .mp3 with a program of your choice. I prefer WinFF.
Sort the list by Date Modified so that the most recent files end up at the top. Generally the Date Created is when the streaming was initiated, while the Date Modified is when the stream finished downloading. Make sure the size is realistic (you generally want something above 1000KB), then copy/paste the file to a different folder and rename it with a .flv extension.
That’s the process in a nutshell. Find a website that defies this method? Tell us about it in the comments.