I need a script that will grab google cache for every result for a search query.
In the script I will specify the query as site:[url removed, login to view]
This will show all the google pages google has indexed for that site. I want to grab a cached copy of everypage. I want to keep the same file structure and file names.