def get_rss_feed(self, url, params=None): """Get rss feed entries.""" if self.provider.login(): # TODO: Check the usage of get_url. return getFeed(url, params=params, request_hook=self.provider.session.get) return {'entries': []}
def get_rss_feed(self, url, params=None): """Get rss feed entries.""" if self.provider.login(): return getFeed(url, params=params, request_hook=self.provider.get_url) return {'entries': []}