mirror of
https://github.com/kemayo/leech
synced 2025-12-06 08:22:56 +01:00
Arbitrary handler had misplaced url arg
This commit is contained in:
parent
3a24cad826
commit
dc0d2162fb
1 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,8 @@ class Arbitrary(Site):
|
|||
|
||||
story = Section(
|
||||
title=definition.title,
|
||||
author=definition.author
|
||||
author=definition.author,
|
||||
url=url
|
||||
)
|
||||
|
||||
if definition.chapter_selector:
|
||||
|
|
@ -58,8 +59,7 @@ class Arbitrary(Site):
|
|||
title=chapter.string,
|
||||
contents=self._chapter(chapter_url, definition),
|
||||
# TODO: better date detection
|
||||
date=datetime.datetime.now(),
|
||||
url=url
|
||||
date=datetime.datetime.now()
|
||||
))
|
||||
else:
|
||||
story.add(Chapter(
|
||||
|
|
|
|||
Loading…
Reference in a new issue