-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Found in a comment in the blog: http://www.catonmat.net/c/3011
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="co.uk")
Metadata
Metadata
Assignees
Labels
No labels