Update Kissmanga.kt (#2764)

Update Kissmanga.kt
This commit is contained in:
armangido 2020-04-23 04:45:56 +08:00 committed by GitHub
parent 23c7ebfeb7
commit f9c39ed8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Kissmanga'
pkgNameSuffix = 'en.kissmanga'
extClass = '.Kissmanga'
extVersionCode = 15
extVersionCode = 16
libVersion = '1.2'
}

View File

@ -182,7 +182,10 @@ class Kissmanga : ParsedHttpSource() {
}
// Finally find all the urls and decrypt them in JS.
p = Pattern.compile("""lstIA.push\((.*)\);""")
// To fix this randomize thing
var x = Pattern.compile("(.*)[(]wrapKA")
var y = x.matcher(body)
p = Pattern.compile("""$y.group(1)\((.*)\);""")
m = p.matcher(body)
var i = 0