Ejemplo n.º 1
0
 def __init__(self):
     WebSearchProvider.__init__(self)
Ejemplo n.º 2
0
 def __init__(self):
     WebSearchProvider.__init__(self)
     # TODO: Make this configurable
     self.max_results = 20
Ejemplo n.º 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]
Ejemplo n.º 4
0
 def __init__(self):
     WebSearchProvider.__init__(self)
     # TODO: Make this configurable
     self.max_results = 20
Ejemplo n.º 5
0
 def __init__(self):
     WebSearchProvider.__init__(self)
Ejemplo n.º 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]