From 5f8da8b1200411d58cc26c1297b658e06be5b24f Mon Sep 17 00:00:00 2001 From: zbue <108109611+zbue@users.noreply.github.com> Date: Sun, 26 Jun 2022 22:16:52 +0800 Subject: [PATCH] BATO.TO: Change default popular sort by `Most Views Totally` (#12329) * Change default popular sort * bump version --- src/all/batoto/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/all/batoto/BatoTo.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/batoto/build.gradle b/src/all/batoto/build.gradle index 0ceb08386..5612b6bf2 100644 --- a/src/all/batoto/build.gradle +++ b/src/all/batoto/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Bato.to' pkgNameSuffix = 'all.batoto' extClass = '.BatoToFactory' - extVersionCode = 26 + extVersionCode = 27 isNsfw = 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 29c074714..077cff5f0 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 @@ -140,7 +140,7 @@ open class BatoTo( override fun latestUpdatesNextPageSelector() = "div#mainer nav.d-none .pagination .page-item:last-of-type:not(.disabled)" override fun popularMangaRequest(page: Int): Request { - return GET("$baseUrl/browse?langs=$siteLang&sort=views_w&page=$page") + return GET("$baseUrl/browse?langs=$siteLang&sort=views_a&page=$page") } override fun popularMangaSelector() = latestUpdatesSelector()