MangaPark v3 Fix 3.0 (#7536)
* Update build.gradle * Update MangaPark.kt * Update MangaPark.kt * Update MangaPark.kt
This commit is contained in:
parent
5f117bffbd
commit
16f94ad314
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'MangaPark v3'
|
||||
pkgNameSuffix = 'all.mangapark'
|
||||
extClass = '.MangaParkFactory'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -219,8 +219,8 @@ open class MangaPark(
|
|||
}
|
||||
|
||||
override fun chapterListParse(response: Response): List<SChapter> {
|
||||
val resTojson = json.parseToJsonElement(response.toString()).jsonObject
|
||||
val document = Jsoup.parse(resTojson["html"]!!.toString())
|
||||
val resToJson = json.parseToJsonElement(response.body!!.string()).jsonObject
|
||||
val document = Jsoup.parse(resToJson["html"]!!.jsonPrimitive.content)
|
||||
return document.select(chapterListSelector()).map { chapterFromElement(it) }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue