fix: Update Manhuagui's Manga Page List URL schema to latest (#10299)

* fix: Update Manhuagui's Manga Page List URL schema to latest

* fix: Remove unnecessary space in Manhuagui's SI json schema
This commit is contained in:
Junyin Chen 2022-01-02 15:49:34 -08:00 committed by GitHub
parent 0e05f3fad6
commit e9423902c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'ManHuaGui'
pkgNameSuffix = 'zh.manhuagui'
extClass = '.Manhuagui'
extVersionCode = 10
extVersionCode = 11
}
dependencies {

View File

@ -393,7 +393,7 @@ class Manhuagui : ConfigurableSource, ParsedHttpSource() {
val imageJson: Comic = json.decodeFromString(imgJsonStr!!)
return imageJson.files!!.mapIndexed { i, imgStr ->
val imgurl = "${imageServer[0]}${imageJson.path}$imgStr?cid=${imageJson.cid}&md5=${imageJson.sl?.md5}"
val imgurl = "${imageServer[0]}${imageJson.path}$imgStr?e=${imageJson.sl?.e}&m=${imageJson.sl?.m}"
Page(i, "", imgurl)
}
}

View File

@ -4,5 +4,6 @@ import kotlinx.serialization.Serializable
@Serializable
data class Sl(
val md5: String? = ""
val e: Int? = 0,
val m: String? = ""
)