Monday, January 14, 2008

How to save any Flash Video to disk from Firefox in Linux

I've used youtube-dl to download videos from YouTube, but it can't handle, say, about.com videos. Or any of the other random video sites popping up all around the net. Turns out there is a very simple way to save any FLV file to disk in Firefox (as a friend showed me):

  1. Type about:cache in the Location bar.
  2. Click "Disk Cache Device", loading this page might take some time.
  3. Search for the FLV file (Ctrl+F). You may have to look around a bit.
  4. Once found, click the link, which will open up a "Cache entry information" page.
  5. On that page, the "file on disk" parameter shows you where Firefox has stored that FLV file in its cache on disk. Now just cp that file to wherever you want it:

    cp /path/from/file/on/disk /path/to/where/I/want/FLV/file.flv

Incredibly simple and easy! (Tested on Ubuntu Feisty)