def __init__(self, **kwargs): APIProvider.__init__(self, **kwargs) self.cache_file = get_cache_file(self.id_) # Use lxml as the BeautifulSoup parser if it's installed. if importlib.find_loader('lxml'): self._parser = 'lxml' else: self._parser = 'html.parser'
def __init__(self, **kwargs): APIProvider.__init__(self, **kwargs) self.cache_file = get_cache_file(self.id_)