[readcomiconline] fix 'issue' extractor (#7269)

- pth -> pht
- spaces -> tabs
This commit is contained in:
Mike Fährmann
2025-03-30 18:17:02 +02:00
parent 4bcbc2d5b4
commit becdfbd806

View File

@@ -85,7 +85,7 @@ class ReadcomiconlineIssueExtractor(ReadcomiconlineBase, ChapterExtractor):
replacements = re.findall( replacements = re.findall(
r"l = l\.replace\(/([^/]+)/g, [\"']([^\"']*)", page) r"l = l\.replace\(/([^/]+)/g, [\"']([^\"']*)", page)
for block in page.split(" pth = '")[1:]: for block in page.split("\t\tpht = '")[1:]:
pth = text.extr(block, "", "'") pth = text.extr(block, "", "'")
for needle, repl in re.findall( for needle, repl in re.findall(
@@ -129,7 +129,7 @@ class ReadcomiconlineComicExtractor(ReadcomiconlineBase, MangaExtractor):
def baeu(url, root="", root_blogspot="https://2.bp.blogspot.com"): def baeu(url, root="", root_blogspot="https://2.bp.blogspot.com"):
"""https://readcomiconline.li/Scripts/rguard.min.js""" """https://readcomiconline.li/Scripts/rguard.min.js?v=1.5.4"""
if not root: if not root:
root = root_blogspot root = root_blogspot