BATO.TO: Change default popular sort by `Most Views Totally` (#12329)

* Change default popular sort

* bump version
This commit is contained in:
zbue 2022-06-26 22:16:52 +08:00 committed by GitHub
parent 300b61ecd4
commit 5f8da8b120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Bato.to'
pkgNameSuffix = 'all.batoto'
extClass = '.BatoToFactory'
extVersionCode = 26
extVersionCode = 27
isNsfw = true
}

View File

@ -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()