diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/network/CloudflareInterceptor.kt b/app/src/main/java/eu/kanade/tachiyomi/data/network/CloudflareInterceptor.kt index 23b9111728..41b8a5aaf4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/network/CloudflareInterceptor.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/network/CloudflareInterceptor.kt @@ -55,7 +55,7 @@ class CloudflareInterceptor(private val cookies: PersistentCookieStore) : Interc val js = operation //language=RegExp - .replace(Regex("""a\.value =(.+?) \+ .+?;"""), "$1") + .replace(Regex("""a\.value =(.+?) \+.*"""), "$1") //language=RegExp .replace(Regex("""\s{3,}[a-z](?: = |\.).+"""), "") .replace("\n", "")