I’m using Ubuntu, but this method should work on every Linux distribution.
Copy Youtube, Myspace, Metacafe, DailyMotion, Megafile, MegaVideo Videos to Your Desktop
When you watch a video on Youtube and other popular video file sharing sites, Adobe’s Flash Player is temporarily storing the file in your /tmp directory. Once you leave the page or close the tab on your browser, the file is erased and is irretrievable.
Steps to copy file to your desktop
1. Let the video load on your web browser. You can do this for multiple videos on separate tabs at the same time. The progress bar shows you when the file is completely buffered (e.g. saved to your hard drive).
2. Do not close the browser or leave the pages where the videos are buffered!
3. Find the temporary file
From a terminal window, change to your /tmp directory
3. List all the files in order of last updated.
The Flash file(s) that you currently have open in your browser will be listed. They usually start with FLA****
Look for the biggest filesize(s) and you’ll clearly see the video file(s) you are looking for.
4. Copy the the files to your desktop (or anywhere else on your drive). Remember to give them a .flv extension for easier playback of the files.
cp tempfilename ~/Desktop/MyFavoriteTVShow1.flv
Use our other Linux tips to then copy these FLV files to your iPod, Sansa, Creative and other portable mp4 players. Linux is the best, enjoy!
Please share your methods and experiences here.