Fix "Page List Empty" with Randomized Suffix (KissManga) (#2772)

Fix "Page List Empty" with Randomized Suffix (KissManga)
This commit is contained in:
i404788 2020-04-23 13:18:49 +01:00 committed by GitHub
parent 05561c80c1
commit 23f6b3c46b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

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

View File

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