Atsumaru: Fix popular and latest tabs (#11422)

fix popular and latest
This commit is contained in:
bapeey 2025-11-05 09:54:11 -05:00 committed by Draff
parent 4c7f5d6a37
commit 25a4651aa5
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Atsumaru'
extClass = '.Atsumaru'
extVersionCode = 6
extVersionCode = 7
isNsfw = true
}

View File

@ -39,7 +39,7 @@ class Atsumaru : HttpSource() {
// ============================== Popular ===============================
override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/api/infinite/trending?page=${page - 1}", apiHeaders)
return GET("$baseUrl/api/infinite/trending?page=${page - 1}&types=Manga,Manwha,Manhua,OEL", apiHeaders)
}
override fun popularMangaParse(response: Response): MangasPage {
@ -51,7 +51,7 @@ class Atsumaru : HttpSource() {
// =============================== Latest ===============================
override fun latestUpdatesRequest(page: Int): Request {
return GET("$baseUrl/api/infinite/recentlyUpdated?page=${page - 1}", apiHeaders)
return GET("$baseUrl/api/infinite/recentlyUpdated?page=${page - 1}&types=Manga,Manwha,Manhua,OEL", apiHeaders)
}
override fun latestUpdatesParse(response: Response): MangasPage {