Esempio n. 1
0
class SpiderStorage():
    def __init__(self):
        self.impl = FileSpiderStorage()

    def set(self, key, url):
        self.impl.set(key, url)

    def contains(self, key):
        return self.impl.contains(key)

    def get(self, key):
        return self.impl.get(key)
Esempio n. 2
0
class SpiderStorage():
    def __init__(self):
        self.impl = FileSpiderStorage()

    def set(self, key, url):
        self.impl.set(key, url)

    def contains(self, key):
        return self.impl.contains(key)

    def get(self, key):
        return self.impl.get(key)
Esempio n. 3
0
 def __init__(self):
     self.impl = FileSpiderStorage()
Esempio n. 4
0
 def __init__(self):
     self.impl = FileSpiderStorage()