1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2026-01-03 22:26:52 +01:00

Fix single-chapter fanfiction.net stories

This commit is contained in:
David Lynch 2017-09-22 21:33:20 -05:00
parent 59acc8e373
commit eb715366f0

View file

@ -53,7 +53,7 @@ class FanFictionNet(Site):
story[-1].date = updated
story[0].date = published
else:
story.add(Chapter(title=story['title'], contents=self._extract_chapter(url), date=published))
story.add(Chapter(title=story.title, contents=self._chapter(url), date=published))
return story