[weebcentral] fix extraction (#6860)

This commit is contained in:
Mike Fährmann
2025-01-19 18:14:03 +01:00
parent f867e690c1
commit 6ce310d865

View File

@@ -80,12 +80,12 @@ class WeebcentralChapterExtractor(WeebcentralBase, ChapterExtractor):
results = []
while True:
src = extr(' src="', '"')
src = extr('src="', '"')
if not src:
break
results.append((src, {
"width" : text.parse_int(extr(' width="' , '"')),
"height": text.parse_int(extr(' height="', '"')),
"width" : text.parse_int(extr('width="' , '"')),
"height": text.parse_int(extr('height="', '"')),
}))
return results