General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
where does K-Meleon save temp files (.flv+.swf)
Posted by: nikolas
Date: May 02, 2009 06:12AM

suppose I'm watching flv video in YouTube - so I like it and want to save on my local PC

In Opera I just look into Cache folder and always find video there - rename it and that's the whole thing

In K-Meleon there's a number of strange files in Cache - no hint at any real file.

SO - WHERE DO I HAVE TO SEARCH FOR DOWNLOADED INTERNET VIDEOS after playing them in K-Meleon???

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: guenter
Date: May 02, 2009 07:31AM

cache is archived

type about:cache & enter or a get a specialized viewer

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: Yogi
Date: May 02, 2009 10:14AM

@ nikolas

You may give VideoCacheView a try. NirSoft has a couple of handy freeware utilities which don't require installation.
I don't use any of them myself but they are very popular.

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: JujuLand
Date: May 02, 2009 10:57AM

I have tried to see where it can be saved, and curiously it was in temp folder, unfortunatelly the file (with tmp extension) is deleted after closing the page, and when the page is always opened, impossible to copy it.

I have found a trick to save it.

The page opened, hit Ctrl-U to open the source and find the movie UEL, copy the url, create a new download in an external downloader (for example, Orbit downloader) and paste the url here.

It downloads the file.

My tries have been made with dromadaire.com, and I don't know if it works with Youtube.

I think also that Orbit as a feature to download videos. Guenter the great specialist can perhaps confirm ?

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: AirSpirit
Date: May 02, 2009 02:48PM

Look into K-Meleon Cache Folder (the path can be found in Preferences->Network/Performance->Cache). Sort items by date modified. When your video is fully downloaded, you'll be able to find a file in this folder, almost at bottom (or at top, depending on the sort direction) of list with an appropriate size (depending on the video length) and with a random name without an extension. Copy it to the desired location and add an extension - flv or swf, and rename it if you want to. If you have a hex editor you can also ensure that you've saved right file by viewing its first bytes - FLV for flv films and SWF for swfs smiling smiley

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: JamesD
Date: May 02, 2009 08:48PM

I don't know if this will work for you or not, but I have CacheViewer macro running on my system and it is easy to inspect the contents of cache with it. I don't know the original author. See this thread http://kmeleonbrowser.org/forum/read.php?1,88602,88613#msg-88613

The macro requires software from Nirsoft - MozillaCacheView v1.08
Copyright (c) 2007 - 2008 Nir Sofer
Web site: http://www.nirsoft.net

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Cache Viewer ------------------------------------------------------------------
#
# Dependencies : -
# Resources : -
# Preferences : -
#  Updated to use generated path to cache by JamesD   01/28/09
#  Do no use for KM version before 1.5.x if profile in D and S\local settings
# ------------------------------------------------------------------------------------------------------------------

CV_OpenPage{
$_CV_Path = "\"".$_CV_Path."\"";
$_CV_Open=$URL; &_CV_Open;
}

# ----- PRIVATE

_CV_Open{
# fallback command line (may fail on NT):
$_CV=sub("%s",_("Program Files"),"\"C:\\Program Files\\Nirsoft M Cache Viewer\\MozillaCacheView.exe\" -folder ".$_CV_Path);
# PATCH (invalid IE7 registry data)
#index($__data,".")>index($__data,"%1")?$__data="\"\"C:\\Program Files\\k-meleon\\Profiles\\4nlnqaim.default\\Cache\"":0;
index($__data,".")>index($__data,"%1") ? $__data="\".$_CV_Path.\"" : 0;

# PATCH
$__data==""?0:$_CV=$__data; exec(sub("%1",$_CV_Open,$_CV));
}

_CV_BuildMenu{
# view menu
setmenu("Page &Properties",macro,"Cache Viewer",CV_OpenPage,"Cache &Information");
# context menus
setmenu("Page Pro&perties",macro,"Cache Viewer",CV_OpenPage,"Cache &Information");
}
_CV_SetAccels{
setaccel("CTRL ALT C","macros(CV_OpenPage)");
}

_CV_GetPath{
$_CV_Version_Pref="general.useragent.vendorSub";
$_CV_User_Ver=substr(getpref(STRING, $_CV_Version_Pref), 0, 3);
# choice 1.1 series = early version while other = later version
$_CV_User_Ver == "1.1" ? $_CV_Path=getfolder(RootFolder)."\\Profiles\\default\\Cache" : $_CV_Path=getfolder(ProfileFolder)."\\Cache" ;
}	
	
$OnStartup=$OnStartup."_CV_GetPath;";
$OnInit=$OnInit."_CV_SetAccels;_CV_BuildMenu;";

# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."CV;";
#_____________________________________________________________

#IMPORTANT!;
#change "\"C:\\Program Files\\Nirsoft M Cache Viewer\\MozillaCacheView.exe\" ) to where you have the mozillacacheviewer on your hd. ;


Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: disrupted
Date: May 02, 2009 10:26PM

i don't know much about video but ii know how streaming audio caches and it should be the same ith video; like alain has said, streaming media can't be decoded from netscape-tye cache.. so it is downloaded to the temp folder, normally with a tmp extension.. copying the stream file is very hard with mozilla browsers because they lock the file whilst the file is playing and if you close the browser or window the file will be deleted immediately.. so you need some kind of utility that uses windows disk service to copy locked files.. like hobocopy or shadow copy etc.. it's very tedious and not always successful, not to mention that some streaming sites zeros off the file once it completes loading it..so copying the complete file requires timing precision.

what i normally do is i send the page to ietab or you can use internet explorer for that mission because ie does not lock the file from copying while it's streaming.
in ietab/ie the file will be loaded normally from ie's cache "temporary internet files" and not the temp folder.. however in most cases, the file will not have a tmp extension like in mozilla..it will either have no extension atall or have a bogus familiar extension(image,html,php etc) to throw you off so locating it isn't very easy especially when you have a big cache.

first empty ie cache before going to the site with ietab so there won't be many files to look through.. load the site and go to ie temporary internet files folder.. the file will have a bigger size than normal cache files and most importantly it will keep growing as the site loads the video/audio so this should help identify it..right click on the file you suspect(do not drag and drop) and select copy..now go to the folder where you want to save that file and right click and paste..once the file is copied, use a file identifier like trid(http://mark0.net/soft-trid-e.html) to know its format (flv, m4a, mp3) so you know what player to use or what program to use to convert it to the format you prefer..

the next step is to ensure that the file you've copied has completed and not partial.. monitor the site where the media is streamed, the flash player will have a progress bar.. right before it reaches the end(depending on your connection:when there's only few seconds left).. right click and select paste again in you destination folder.. the file should have completed or just have a couple seconds off.. this will not affect the integrity of the file as most media files(avi is one exception) will play normally with 1 or 2 seconds chopped off at the end.

you can test and practise with this file:
http://www.imeem.com/people/hmSPdL7/music/kJRd9qIn/suzanne-vega-obvious-question/
hint: the file will have a gif extension.

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: Fred
Date: May 03, 2009 01:08AM

I think that nikolas was asking about youtube files.
This is not live streaming video, which would indeed be
difficult to save, but these are .flv files, that
are cached in the profiles folder of the browser.
They can be copied from the cache, as soon as the
downloading process is finished, to a selected folder,
and viewed with the program FLVPlayer.
The profiles folder is either inside the K-Meleon
root folder, or, if multiuser has been selected,
inside the user folder (mostly a subfolder of C:/Documents...).

Fred

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: Fred
Date: May 03, 2009 01:13AM

P.S.:
The files are easily to find by their bigger size,
if you order the files by size.
It is not even necessary to rename the file with an
added extension .flv, as FLVPlayer recognizes
a playable file even without .flv .

Fred

Options: ReplyQuote
Re: where does K-Meleon save temp files (.flv+.swf)
Posted by: disrupted
Date: May 06, 2009 08:47PM

why not use lexi's getflash macro.. i use it when i want to save a youtube, works all the time

http://kmeleonbrowser.org/forum/read.php?1,88376,88376

Options: ReplyQuote


K-Meleon forum is powered by Phorum.