diff --git a/src/en/kissmanga/build.gradle b/src/en/kissmanga/build.gradle index 3581b1b26..f93101d57 100644 --- a/src/en/kissmanga/build.gradle +++ b/src/en/kissmanga/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Kissmanga' pkgNameSuffix = 'en.kissmanga' extClass = '.Kissmanga' - extVersionCode = 15 + extVersionCode = 16 libVersion = '1.2' } diff --git a/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt b/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt index bb1a04c79..b87d9729f 100644 --- a/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt +++ b/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt @@ -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