I second CountZero's recommendation. If you are stumped by the Google API, the Oreilly Google Hacks title can ease you into using it as well as web services. In addition, Google's AUP is pretty clear that they prohibit automated scanning and scraping of their results unless you use the Google API to do it. I understand their reasoning and think it is a fair policy. Please sign up for a Google Developer account and use their API.
Word of warning, I believe Google blocks by IP if they catch you doing automated scans(w/o using Google API). I don't know how long the block lasts, but if you share your internet connection via NAT, there's a chance you'll punish everyone in the office with no access to Google for a while. I know I'd be one to show up with pitchforks and torches at at your cube if that happened.
Later