From 0e8579017b3ef417c3cd673986f6d729529f81ee Mon Sep 17 00:00:00 2001 From: Koitharu Date: Sun, 7 Jan 2024 12:02:13 +0200 Subject: [PATCH] [BatoTo] Fix pages parsing --- .../org/koitharu/kotatsu/parsers/site/all/BatoToParser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/all/BatoToParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/all/BatoToParser.kt index 3eec956d5..ba9af2e9c 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/all/BatoToParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/all/BatoToParser.kt @@ -185,7 +185,7 @@ internal class BatoToParser(context: MangaLoaderContext) : PagedMangaParser( val scripts = webClient.httpGet(fullUrl).parseHtml().select("script") for (script in scripts) { val scriptSrc = script.html() - val p = scriptSrc.indexOf("const imgHttpLis =") + val p = scriptSrc.indexOf("const imgHttps =") if (p == -1) continue val start = scriptSrc.indexOf('[', p) val end = scriptSrc.indexOf(';', start)