This commit is contained in:
Kovid Goyal 2011-10-11 17:44:25 +05:30
parent cb4aaaef11
commit 967ec83a7c

View file

@ -119,10 +119,8 @@ def find_articles(self, url):
}
def parse_index(self):
try:
feeds = []
for title, href in self.find_sections():
feeds.append((title, list(self.find_articles(href))))
return feeds
except:
raise NotImplementedError
feeds = []
for title, href in self.find_sections():
feeds.append((title, list(self.find_articles(href))))
return feeds