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:
parent
0e05f3fad6
commit
e9423902c2
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'ManHuaGui'
|
||||
pkgNameSuffix = 'zh.manhuagui'
|
||||
extClass = '.Manhuagui'
|
||||
extVersionCode = 10
|
||||
extVersionCode = 11
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,5 +4,6 @@ import kotlinx.serialization.Serializable
|
|||
|
||||
@Serializable
|
||||
data class Sl(
|
||||
val md5: String? = ""
|
||||
val e: Int? = 0,
|
||||
val m: String? = ""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue