Zenko: Fixed loading manga images on page (#7413)
This commit is contained in:
parent
bc0b80fc6f
commit
1bd2f6cd65
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Zenko'
|
||||
extClass = '.Zenko'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ class Zenko : HttpSource() {
|
|||
override fun pageListParse(response: Response): List<Page> {
|
||||
val data = response.parseAs<ChapterResponseItem>()
|
||||
return data.pages!!.map { page ->
|
||||
Page(page.id, imageUrl = "$IMAGE_STORAGE_URL/${page.imgUrl}")
|
||||
Page(page.id, imageUrl = "$IMAGE_STORAGE_URL/${page.content}")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ class ChapterResponseItem(
|
|||
@Serializable
|
||||
class Page(
|
||||
val id: Int,
|
||||
val imgUrl: String,
|
||||
val content: String,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
|
|
Loading…
Reference in New Issue