1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 11:41:35 +01:00

[mangaread] fix extraction

This commit is contained in:
Mike Fährmann 2023-11-25 23:53:27 +01:00
parent 7608201a44
commit 311ec1d9ef
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -50,8 +50,8 @@ class MangareadChapterExtractor(MangareadBase, ChapterExtractor):
page = text.extr(
page, '<div class="reading-content">', '<div class="entry-header')
return [
(url.strip(), None)
for url in text.extract_iter(page, 'data-src="', '"')
(text.extr(img, 'src="', '"').strip(), None)
for img in text.extract_iter(page, '<img id="image-', '>')
]