1
0
Fork 0
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:
David Lynch 2017-10-22 17:06:40 -05:00
parent 3a24cad826
commit dc0d2162fb

View file

@ -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(