diff --git a/src/en/latisbooks/build.gradle b/src/en/latisbooks/build.gradle index d33c3f981..ab4e4dc38 100644 --- a/src/en/latisbooks/build.gradle +++ b/src/en/latisbooks/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Latis Books' pkgNameSuffix = 'en.latisbooks' extClass = '.Latisbooks' - extVersionCode = 3 + extVersionCode = 4 isNsfw = true } diff --git a/src/en/latisbooks/src/eu/kanade/tachiyomi/extension/en/latisbooks/Latisbooks.kt b/src/en/latisbooks/src/eu/kanade/tachiyomi/extension/en/latisbooks/Latisbooks.kt index e46fa2b18..7aa23107c 100644 --- a/src/en/latisbooks/src/eu/kanade/tachiyomi/extension/en/latisbooks/Latisbooks.kt +++ b/src/en/latisbooks/src/eu/kanade/tachiyomi/extension/en/latisbooks/Latisbooks.kt @@ -122,7 +122,7 @@ class Latisbooks : HttpSource() { // Handle multiple images per page (e.g. Page 23+24) val pages = blocks.select("img.thumb-image") - .mapIndexed { i, it -> Page(i, it.attr("abs:data-src")) } + .mapIndexed { i, it -> Page(i, "", it.attr("abs:data-src")) } .toMutableList() val numImages = pages.size @@ -133,7 +133,7 @@ class Latisbooks : HttpSource() { .map { it.select("div.sqs-block-content").first() } // Some pages have empty html blocks (e.g. Page 1), so ignore them .filter { it.childrenSize() > 0 } - .mapIndexed { i, it -> Page(i + numImages, wordWrap(it.text()).image()) } + .mapIndexed { i, it -> Page(i + numImages, "", wordWrap(it.text()).image()) } .toList() )