1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 16:33:16 +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( story = Section(
title=definition.title, title=definition.title,
author=definition.author author=definition.author,
url=url
) )
if definition.chapter_selector: if definition.chapter_selector:
@ -58,8 +59,7 @@ class Arbitrary(Site):
title=chapter.string, title=chapter.string,
contents=self._chapter(chapter_url, definition), contents=self._chapter(chapter_url, definition),
# TODO: better date detection # TODO: better date detection
date=datetime.datetime.now(), date=datetime.datetime.now()
url=url
)) ))
else: else:
story.add(Chapter( story.add(Chapter(