|
|
|
@ -185,7 +185,7 @@ internal class BatoToParser(context: MangaLoaderContext) : PagedMangaParser(
|
|
|
|
val scripts = webClient.httpGet(fullUrl).parseHtml().select("script")
|
|
|
|
val scripts = webClient.httpGet(fullUrl).parseHtml().select("script")
|
|
|
|
for (script in scripts) {
|
|
|
|
for (script in scripts) {
|
|
|
|
val scriptSrc = script.html()
|
|
|
|
val scriptSrc = script.html()
|
|
|
|
val p = scriptSrc.indexOf("const imgHttpLis =")
|
|
|
|
val p = scriptSrc.indexOf("const imgHttps =")
|
|
|
|
if (p == -1) continue
|
|
|
|
if (p == -1) continue
|
|
|
|
val start = scriptSrc.indexOf('[', p)
|
|
|
|
val start = scriptSrc.indexOf('[', p)
|
|
|
|
val end = scriptSrc.indexOf(';', start)
|
|
|
|
val end = scriptSrc.indexOf(';', start)
|
|
|
|
|