diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/es/TuMangaOnlineParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/es/TuMangaOnlineParser.kt index af4f1694..9a7cb14c 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/es/TuMangaOnlineParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/es/TuMangaOnlineParser.kt @@ -210,7 +210,9 @@ class TuMangaOnlineParser(context: MangaLoaderContext) : PagedMangaParser( if (script1 != null) { val data = script1.data() - val regexParams = """\{uniqid:\s*'(\S+)',\s*cascade:\s*(\S+)}""".toRegex() + + @Suppress("RegExpRedundantEscape") + val regexParams = """\{uniqid:\s*'(\S+)',\s*cascade:\s*(\S+)\}""".toRegex() val regexAction = """form\.action\s?=\s?'(.+)'""".toRegex() val params = regexParams.find(data)!! val action = regexAction.find(data)!!.groupValues[1].toHttpUrl()