They actually won't ban your IP for this. They only limit your number of searches per day. I discovered this once when I used http://www.google.com as a test metric for my network monitoring program. I do like your script though.
Regards, Harlin -- http://mail.python.org/mailman/listinfo/python-list