[ngomik] fix extraction

This commit is contained in:
Mike Fährmann
2019-07-28 10:37:54 +02:00
parent 3969f9cbbd
commit 40637556fa
5 changed files with 5 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ class NgomikChapterExtractor(ChapterExtractor):
@staticmethod
def images(page):
readerarea = text.extract(page, 'id=readerarea', 'class=chnav')[0]
readerarea = text.extract(page, 'id="readerarea"', 'class="chnav"')[0]
return [
(text.unescape(url), None)
for url in re.findall(r"\ssrc=[\"']?([^\"' >]+)", readerarea)