You might want to try this <a href="http://blackcodeseo.com/google-search-api-for-python/">Google Search API for Python</a>.  <br><p>Sample implementation:</p>
<p>>>> from Google import Google, search<br>
>>> results = search('<a href="http://blackcodeseo.com">blackcodeseo.com</a>', 3)<br>
>>> for result in results:<br>
…     print 'Title: %s' % (result.title())<br>
…     print 'Url: %s' % (result.url())<br>
…     print 'Description: %s' % (result.description())<br>
…     print<br>
…<br>
Title: Black Code SEO<br>
Url: <a href="http://blackcodeseo.com/">http://blackcodeseo.com/</a><br>
Description: Oct 29, 2008 … Black Code SEO. Programatically Automating
SEO … Download BlackCodeSeo Navigator. Run python setup.py install …</p>
<p>Title: Have A Question?<br>
Url: <a href="http://blackcodeseo.com/have-a-question/">http://blackcodeseo.com/have-a-question/</a><br>
Description: If you have any questions about anything, you can reach me
at matt@blackcodeseo. com and I will be happy to reply. Your questions
may be posted on the site …</p>
<p>Title: SpiderMonkey « Didier Stevens<br>
Url: <a href="http://blog.didierstevens.com/programs/spidermonkey/">http://blog.didierstevens.com/programs/spidermonkey/</a><br>
Description: The exact post is
<a href="http://blackcodeseo.com/python-spidermonkey-navigator/">http://blackcodeseo.com/python-spidermonkey-navigator/</a>. Comment by Matt
— Wednesday 29 October 2008 @ 20:56. Thanks. …</p>
<p>>>></p><br>