You can start with google and read the book Google Hacks from O'Reilly,
which has many sample scripts. Here is some code for parsing the results of
an query run against google. The google html results are saved as a file
(this is the non-automated part that could be improved); then run this
Title: RE: Search engine results
You could modify the code from this article I wrote
... the Google Web Service offers a lot of flexibility as far as this problem goes.
http://www.l-eet.com/web-development/includes/articles/?id=Web-Services-In-Perl,-Part-1
grant babb
L-EET Web Services