PHP script to recover sites using Google Cache.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

The goal of this simple script is try to recover a site using the Google Cache.

Google store a snapshot of (every?) page of your domain, so if you lost your site, you can try to recover.

Note: it recovers only HTML pages, no assets (js, css) or images/documents.

Note 2: Your site will be stores in sites/ as static


git clone


Usage: php run.php [timeout] [initpage] [endpage]

  • timeout (int) seconds to wait
  • initpage: (int) the page to start from
  • endpage: (int) the page to end to

Pay attention

Google will block you, so be careful.