convert hds module to browser2 and fix it

This commit is contained in:
Romain Bignon 2014-10-11 16:56:32 +02:00
commit 89e7bbe9ef
4 changed files with 114 additions and 163 deletions

View file

@ -68,7 +68,7 @@ def main(filename):
sys.stdout.write('Getting stories list from website... ')
sys.stdout.flush()
for story in br.iter_stories():
if story.id in stored:
if int(story.id) in stored:
break
to_fetch.add(story.id)
authors.add(story.author.name)