Ejemplo n.º 1
0
 def run(self):
     from rdr.modules.feeds.packages.resolver import PackagesResolver
     resolver = PackagesResolver(self.url, is_channel_url=True)
     resolver.run()
     feeds = resolver.result_feeds()
     if feeds:
         selected = feeds[0]
         self._select_feed(selected.id)
Ejemplo n.º 2
0
def resolve_package_channel(url):
    from rdr.modules.feeds.packages.resolver import PackagesResolver
    resolver = PackagesResolver(url, is_channel_url=True)
    resolver.run()
    feeds = resolver.result_feeds()
    return [feed.id for feed in feeds]