using google search api for python

Matt matt at blackcodeseo.com
Sat Dec 13 07:06:53 CET 2008


You might want to try this Google Search API for
Python<http://blackcodeseo.com/google-search-api-for-python/>.


Sample implementation:

>>> from Google import Google, search
>>> results = search('blackcodeseo.com', 3)
>>> for result in results:
…     print 'Title: %s' % (result.title())
…     print 'Url: %s' % (result.url())
…     print 'Description: %s' % (result.description())
…     print
…
Title: Black Code SEO
Url: http://blackcodeseo.com/
Description: Oct 29, 2008 … Black Code SEO. Programatically Automating SEO …
Download BlackCodeSeo Navigator. Run python setup.py install …

Title: Have A Question?
Url: http://blackcodeseo.com/have-a-question/
Description: If you have any questions about anything, you can reach me at
matt at blackcodeseo. com and I will be happy to reply. Your questions may be
posted on the site …

Title: SpiderMonkey « Didier Stevens
Url: http://blog.didierstevens.com/programs/spidermonkey/
Description: The exact post is
http://blackcodeseo.com/python-spidermonkey-navigator/. Comment by Matt —
Wednesday 29 October 2008 @ 20:56. Thanks. …

>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081213/6c241442/attachment.html>


More information about the Python-list mailing list