You're replying to a comment by Andrew.

Andrew Permalink
May 21, 2010, 22:35

Simple hack to use more than one google...

In the tool I am developing I needed to be able to input different google's to search so i came up with this simple hack

class GoogleSearch(object):
    def __init__(self, query, tld, random_agent=False, debug=False, lang="en", re_search_strings=None):
        self.query = query
        self._tld = tld

You can then specify a different google by typing

GoogleSearch("keywords", tld="")

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "cloud_139": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.