def get_channels(self):
     return get_channels()
Пример #2
0
 def update_channels(self):
     idu, all = get_channels()
     self.cache['idu'] = idu
     self.cache['all'] = all
    def get_channels(self):
        if 'data' not in self.cache:
            self.cache['data'] = get_channels()

        return self.cache.get('data')
 def get_channels(self):
     return get_channels()
Пример #5
0
 def get_channels(self):
     if self.isCookieValid < 0:
         return -1
     return scraper.get_channels(self.url)
Пример #6
0
    def get_channels(self):
        if "data" not in self.cache:
            self.cache["data"] = get_channels()

        return self.cache.get("data")