mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 10:30:49 +01:00
Cloudflare fix. Closes #344
This commit is contained in:
parent
95cd77e749
commit
dbec4fc15e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class CloudflareInterceptor(private val cookies: PersistentCookieStore) : Interc
|
||||||
|
|
||||||
val js = operation
|
val js = operation
|
||||||
//language=RegExp
|
//language=RegExp
|
||||||
.replace(Regex("""a\.value =(.+?) \+ .+?;"""), "$1")
|
.replace(Regex("""a\.value =(.+?) \+.*"""), "$1")
|
||||||
//language=RegExp
|
//language=RegExp
|
||||||
.replace(Regex("""\s{3,}[a-z](?: = |\.).+"""), "")
|
.replace(Regex("""\s{3,}[a-z](?: = |\.).+"""), "")
|
||||||
.replace("\n", "")
|
.replace("\n", "")
|
||||||
|
|
Loading…
Reference in a new issue