Skip to main content

SE::Google::Cache - Check page presence in Google cache

Google Cache

Google Cache parser overview

The Google Cache parser checks for the presence of a page in the Google cache.

Results can be saved in the exact form and structure you need, thanks to the built-in powerful Template Toolkit engine, which allows applying additional logic to results and outputting data in various formats, including JSON, SQL, and CSV.

Collected data

Collected data
  • Page indexing date in the cache
  • Page indexing date in Unix format
  • Presence of the page in the cache
  • Page data without the google-toolbar

Use cases

  • Determining the presence of a page in the Google cache
  • Obtaining the date of the last Google snapshot
  • Obtaining the date of the last Google snapshot in Unix format
  • Obtaining the content of a page that is in the cache

Queries

You should specify the URL of the page as queries, for example:

https://a-parser.com
https://lenta.ru/

Output results examples

Default output

Result format:

$query: $exists - $date\n

Example result showing the domain, presence in the cache (1 or 0), and caching date:

https://lenta.ru/: 1 -  25 Dec 2020 10:44:05 GMT

Output in CSV table

Result format:

[% tools.CSVline(query, exists, date, timestamp) %]

Example result:

https://a-parser.com/wiki/index/,1," 18 Mar 2021 20:05:44 GMT",1616097944

Possible settings

ParameterDefault valueDescription
Use sessionsSaves good sessions, which allows parsing even faster with fewer errors
Util::ReCaptcha2 presetdefaultDetermines whether to use Util::ReCaptcha2Util::ReCaptcha2 to bypass reCAPTCHAs
Remove toolbarSpecifies whether to remove the toolbar from the page