Hi guys … here me again, with some recipe of how to save youtube video after you watch it.
- Linux *of course*
- Mozilla Firefox (I didn’t support another coz this recipe is specific to it)
- Working Konsole
- Working clock
- ffmpeg (if you want to convert those flv’s to mpg’s)
How to cook :
- Open youtube and watch the video.
- After the video is completely downloaded, check the time and remember it.
- It’s time to search for the cache file. For your information, firefox usually place the cache file in ~/mozilla/firefox/[some fuzzy-named directory, like mine is: jkxj5z89.default]/Cache/. Search the file by using this command : ls -la | grep [the_time_you_remember], ie: ls -la | grep 10:22. The file is usually sized more than 5Mb so keep an eye for this kind of file.
- After you get the file, convert it to mpeg using ffmpeg (this is also usable to check wether the file is the right media file), ie: ffmpeg -i CE1916F8d01 Yunnie-8-Karaoke.mpg
- Here you go … the file is ready
PS: Okay okay, there is another simple way to download it, you can use youtube-dl script located here. It very very usable since the greasemonkey and KDE ways is unusable now.