diff --git a/src/all/batoto/build.gradle b/src/all/batoto/build.gradle index ec80ab8fb..ce51ef55a 100644 --- a/src/all/batoto/build.gradle +++ b/src/all/batoto/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Bato.to' pkgNameSuffix = 'all.batoto' extClass = '.BatoToFactory' - extVersionCode = 8 + extVersionCode = 9 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt b/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt index c5a1a8a83..a85bb0c16 100644 --- a/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt +++ b/src/all/batoto/src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt @@ -66,6 +66,7 @@ open class BatoTo( override fun popularMangaFromElement(element: Element) = latestUpdatesFromElement(element) override fun popularMangaNextPageSelector() = latestUpdatesNextPageSelector() + override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { return if (query.isNotBlank()) { GET("$baseUrl/search?word=$query&page=$page") @@ -186,9 +187,7 @@ open class BatoTo( val chapter = SChapter.create() val urlElement = element.select("a.chapt") val group = element.select("div.extra > a:not(.ps-3)").text() - val time = element.select("i").text() - .replace("a ", "1 ") - .replace("an ", "1 ") + val time = element.select("div.extra > i.ps-3").text() chapter.setUrlWithoutDomain(urlElement.attr("href")) chapter.name = urlElement.text() if (group != "") {