1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2026-04-20 11:30:48 +02:00

Fix footnote backlinks, from structure change

This commit is contained in:
David Lynch 2017-02-05 12:38:12 -06:00
parent 5c71b9a17e
commit 24f7137929
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ html_template = '''<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>{title}</title>
<link rel="stylesheet" type="text/css" href="Styles/base.css" />
<link rel="stylesheet" type="text/css" href="../Styles/base.css" />
</head>
<body>
<h1>{title}</h1>

View file

@ -43,7 +43,7 @@ class XenForo(Site):
title = str(mark.string).strip()
print("Fetching chapter", title, href)
chapter = Chapter(title=title, contents="")
contents, post_date = self._chapter(href, chapter.id)
contents, post_date = self._chapter(href, idx)
chapter.contents = contents
chapter.date = post_date
story.add(chapter)