parent
9385d11c43
commit
9aecf7e174
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'MangaOni'
|
||||
extClass = '.MangaOni'
|
||||
extVersionCode = 15
|
||||
extVersionCode = 16
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ open class MangaOni : ConfigurableSource, ParsedHttpSource() {
|
|||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
val encoded = document.select("script:containsData(unicap)").firstOrNull()
|
||||
?.data()?.substringAfter("'")?.substringBefore("'")?.reversed()
|
||||
?.data()?.substringAfter("'")?.substringBefore("'")
|
||||
?: throw Exception("unicap not found")
|
||||
val drop = encoded.length % 4
|
||||
val decoded = Base64.decode(encoded.dropLast(drop), Base64.DEFAULT).toString(Charset.defaultCharset())
|
||||
|
|
Loading…
Reference in New Issue