Write a script performing HTTP requests against www.google.com and parse the SERPs (which are plain normal HTML pages) for the information (mostly URL [See the full post at: How to set up automated queries to google]
How to set up automated queries to google