SushiScan: fix latest query (#7989)

* SushiScan: fix latest query

* bump version after merge

* missing page
This commit is contained in:
Cuong-Tran 2025-03-09 15:35:47 +07:00 committed by Draff
parent a20493a46c
commit 2ed6687b26
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.SushiScan'
themePkg = 'mangathemesia'
baseUrl = 'https://sushiscan.net'
overrideVersionCode = 13
overrideVersionCode = 14
isNsfw = true
}

View File

@ -64,6 +64,9 @@ class SushiScan :
else -> SManga.UNKNOWN
}
override fun popularMangaRequest(page: Int) = GET("$baseUrl/catalogue/?page=$page&order=popular", headers)
override fun latestUpdatesRequest(page: Int) = GET("$baseUrl/catalogue/?page=$page&order=update", headers)
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
val url = "$baseUrl/page/$page".toHttpUrl().newBuilder()
.addQueryParameter("s", query)