Zenko: Fixed loading manga images on page (#7413)

This commit is contained in:
Altometer 2025-02-01 14:42:44 +02:00 committed by Draff
parent bc0b80fc6f
commit 1bd2f6cd65
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -123,7 +123,7 @@ class Zenko : HttpSource() {
override fun pageListParse(response: Response): List<Page> { override fun pageListParse(response: Response): List<Page> {
val data = response.parseAs<ChapterResponseItem>() val data = response.parseAs<ChapterResponseItem>()
return data.pages!!.map { page -> return data.pages!!.map { page ->
Page(page.id, imageUrl = "$IMAGE_STORAGE_URL/${page.imgUrl}") Page(page.id, imageUrl = "$IMAGE_STORAGE_URL/${page.content}")
} }
} }

View File

@ -48,7 +48,7 @@ class ChapterResponseItem(
@Serializable @Serializable
class Page( class Page(
val id: Int, val id: Int,
val imgUrl: String, val content: String,
) )
@Serializable @Serializable