[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 = [] results = []
while True: while True:
src = extr(' src="', '"') src = extr('src="', '"')
if not src: if not src:
break break
results.append((src, { results.append((src, {
"width" : text.parse_int(extr(' width="' , '"')), "width" : text.parse_int(extr('width="' , '"')),
"height": text.parse_int(extr(' height="', '"')), "height": text.parse_int(extr('height="', '"')),
})) }))
return results return results