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:
parent
59acc8e373
commit
eb715366f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue