Friday, January 13, 2012

Linux: How to download flash videos from any site

Navigate to the site on your browser and allow the video to load fully.

Open up the shell and type the following.

~$ pgrep -f flashplayer

This will give you some process id(s) of currently active flash player, note this id.
Change directory to the processes folder, and into the fd folder.

~$ cd /proc/(pid)/fd
~$ ls -l

From the list, find an entry which is located in the tmp directory and has the name deleted in brackets.Note the number just before the path.In this case below it's 25, this represents the file name of the video.

lr-x------ 1 name name 64 2010-01-13 14:41 25 -> /tmp/FlashXXLMneo8 (deleted)

copy the video to somewhere convenient like your desktop.

~$ cp 25 /home/user/Desktop

Check your desktop, the file should be present, rename it appropriately.

No comments:

Post a Comment