Albirew/tachiyomi
Archivé
1
0
Bifurcation 0
Cette révision appartient à :
len 2016-06-03 12:07:22 +02:00
Parent 7bfdfee27b
révision 0714fdc7e6

Voir le fichier

@ -9,8 +9,8 @@ import okhttp3.Response
class CloudflareInterceptor(private val cookies: PersistentCookieStore) : Interceptor {
//language=RegExp
private val operationPattern = Regex("""setTimeout\(function\(\)\{\s+(var t,r,a,f.+?\r?\n[\s\S]+?a\.value =.+?)\r?\n""")
private val operationPattern = Regex("""setTimeout\(function\(\)\{\s+(var (?:\w,)+f.+?\r?\n[\s\S]+?a\.value =.+?)\r?\n""")
//language=RegExp
private val passPattern = Regex("""name="pass" value="(.+?)"""")