MoonPoint Support Logo


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals

Advanced Search
Sun Mon Tue Wed Thu Fri Sat

Mon, Nov 16, 2020 7:55 pm

Extracting image files from Google Chrome Cache

I wanted to save a local copy of an image on a webpage I was viewing in the Google Chrome browser on a Windows 10 system, but I couldn't right-click on it to download it, so I thought I could look for it in the Chrome browser cache, which is located at C:\Users\username\AppData\Local\Google\Chrome\User Data\Default\Cache where username is the name of the relevant account on a Windows system. I had the ChromeCacheView program from NirSoft on the system, which provides a command-line option to copy image files from the Chrome cache for a user, so I used it. Since I was logged into a regular user account, I opened a command prompt as the administrator and then made the working directory the directory where the ChromeCacheView program was located with cd C:\Program Files (x86)\Network\NirSoft\ChromeCacheView. Then from that directory I issued the command below:

chromecacheview -folder "C:\Users\JohnDoe\AppData\Local\Google\Chrome\User Data\Default\Cache\" /copycache "" "image/png" /CopyFilesFolder "c:\users\johndoe\documents\temp\chrome" /UseWebSiteDirStructure 0

You can use the -folder option to tell ChromeCacheView which user's cache file you wish to use while the /copycache option can be used to specify the directory where you want images, such as PNG files, to be copied—in this case I was looking for a .png file because when I examined the HTML code on the webpage I thought that the the image was a PNG file. I created a temp\chrome directory under the Documents directory for the user account prior to issuing the command to hold the images stored in the cache. After the command completed, I could see all of the PNG files that had been in the Chrome cache in that temporary directory I had created.

When I didn't see the image I was looking for, I thought I might have misidentified it in the code, so I copied all of the image files from the cache directory, not just the PNG ones by changing "image/png" to "image" in the command. I.e.:

chromecacheview -folder "C:\Users\JohnDoe\AppData\Local\Google\Chrome\User Data\Default\Cache\" /copycache "" "image" /CopyFilesFolder "c:\users\johndoe\documents\temp\chrome" /UseWebSiteDirStructure 0

That copied AVIF (.avif), BMP GIF (.gif), icon (.ico), JPEG (.jpg), JPEG File Interchange Format (JFIF) (.jfif), SVG (.svg), and WebP (.webp) files from the cache as well as the PNG ones.

[/network/web/browser/chrome] permanent link

Tue, Nov 03, 2020 3:56 pm

Book Collector lock file

When I opened Book Collector version 20.5.2 today, I saw the message "Failed to open database, because your license key (xxxxxxxxxxxx) is already in use on computer "YYYYYYYY" by another user (zzzzzz). Do you wish to unlock your database file and open it here?" I could choose "yes" or "no" with the "no" answer opening Book Collector with a new empty book database. The computer the message referenced was the one on which I was currently trying to open the program. Since the system I was using had crashed earlier in the day, I realized that Book Collector was likely finding a lock file that would be deleted when the program is closed normally. I saw a file with the name I had given to my book collection, but with a .bkclck filename extension in the directory where I stored the book database. When I opened the file I saw the file conained only one line:

<lockinfo><writable><client pcname="YYYYYYYY" name="5c22840efc7a3db854c44b0b780f8abc" key="xxxxxxxxxxxx" username="zzzzzzzz"/></writable></lockinfo>

In cases where Book Collector was not closed normally, you can either choose "yes" at the prompt or delete the .bkclck file before opening Book Collector as its presence is what causes the message to appear.

[/software/database/collectorz] permanent link

Once You Know, You Newegg AliExpress by

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo