[weebcentral] fix extraction (#6860)
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user