Kuaikanmanhua: Fix page list (#12620)
This commit is contained in:
parent
3e1df100b8
commit
c9f515761e
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Kuaikanmanhua'
|
||||
pkgNameSuffix = 'zh.kuaikanmanhua'
|
||||
extClass = '.Kuaikanmanhua'
|
||||
extVersionCode = 9
|
||||
extVersionCode = 10
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -207,7 +207,7 @@ class Kuaikanmanhua : HttpSource() {
|
|||
val document = response.asJsoup()
|
||||
val script = document.selectFirst("script:containsData(comicImages)").data()
|
||||
val images = script.substringAfter("comicImages:")
|
||||
.substringBefore("},nextComicInfo")
|
||||
.substringBefore(",is_vip_exclusive")
|
||||
.replace("""(:([^\[\{\"]+?)[\},])""".toRegex(), fixJson)
|
||||
.replace("""([,{]([^\[\{\"]+?)[\}:])""".toRegex(), fixJson)
|
||||
.let { json.parseToJsonElement(it).jsonArray }
|
||||
|
|
Loading…
Reference in New Issue