March 14, 2013

copying .FLV files from the cache


I want to lift the .FLV video files from Youtube etc directly from my cache. I understand that Youtube in particular has made this process more difficult by changing where the files are stored. I'm also aware that the file can be found after it has been deleted if it's still open in the browser, as it is still referenced for later use.

I've found nothing in the /tmp file. I've also done an extensive search in the
directory. Any flash file I found I'd slap an .flv tag at the end and run it through VLC player. I made sure to keep the video open in the browser, pausing it before it finished to keep it from being deleted. I also let it finish to see if that would make a difference.

I decided to try find the deleted file. I used the following commands:
lsof | grep Flash
This command turned up no results.

lsof | grep flash
this only turned up files from the directory

lsof | grep deleted
none of these files looked big enough, nor where they in any kind of browser cache. the files I found here belonged to the following directories:

I've accomplished the same task with a Firefox addon, but I'd like to be able to do it manually. If anyone can help me out, I'd be much obliged.