Exemple #1
0
 def __init__(self):
     WebSearchProvider.__init__(self)
Exemple #2
0
 def __init__(self):
     WebSearchProvider.__init__(self)
     # TODO: Make this configurable
     self.max_results = 20
Exemple #3
0
    def __init__(self):
        WebSearchProvider.__init__(self)

        # create a "google ID" used later for setting our preferences instead
        # of using a cookie
        self.google_id = hashlib.md5(str(random.random())).hexdigest()[:16]
Exemple #4
0
 def __init__(self):
     WebSearchProvider.__init__(self)
     # TODO: Make this configurable
     self.max_results = 20
Exemple #5
0
 def __init__(self):
     WebSearchProvider.__init__(self)
Exemple #6
0
    def __init__(self):
        WebSearchProvider.__init__(self)

        # create a "google ID" used later for setting our preferences instead
        # of using a cookie
        self.google_id = hashlib.md5(str(random.random())).hexdigest()[:16]