Exemple #1
0
 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': []}
Exemple #2
0
 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': []}
Exemple #3
0
 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': []}