MangaKimi: fix loading pages when reader is from MangaThemesia theme (#9831)

This commit is contained in:
whitebeardhelper 2025-07-28 12:58:25 -03:00 committed by Draff
parent b8bd224804
commit 346c5b3338
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.MangaKimi' extClass = '.MangaKimi'
themePkg = 'mangathemesia' themePkg = 'mangathemesia'
baseUrl = 'https://www.mangakimi.com' baseUrl = 'https://www.mangakimi.com'
overrideVersionCode = 1 overrideVersionCode = 2
isNsfw = true isNsfw = true
} }

View File

@ -40,6 +40,9 @@ class MangaKimi : MangaThemesia(
countViews(document) countViews(document)
val location = document.location() val location = document.location()
super.pageListParse(document).takeIf { it.isNotEmpty() }?.let { return it }
return document.select(pageSelector).mapIndexed { i, img -> return document.select(pageSelector).mapIndexed { i, img ->
if (img.tagName() == "img") { if (img.tagName() == "img") {
Page(i, location, img.imgAttr()) Page(i, location, img.imgAttr())