fix oppsie, sync dependencies with tachiyomi
This commit is contained in:
@@ -58,8 +58,8 @@ dependencies {
|
||||
implementation("com.github.inorichi.injekt:injekt-core:65b0440")
|
||||
implementation("com.squareup.okhttp3:okhttp:4.9.1")
|
||||
implementation("io.reactivex:rxjava:1.3.8")
|
||||
implementation("org.jsoup:jsoup:1.13.1")
|
||||
implementation("com.google.code.gson:gson:2.8.6")
|
||||
implementation("org.jsoup:jsoup:1.14.1")
|
||||
implementation("com.google.code.gson:gson:2.8.7")
|
||||
implementation("com.github.salomonbrys.kotson:kotson:2.5.0")
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ class CloudflareInterceptor : Interceptor {
|
||||
val response = chain.proceed(chain.request())
|
||||
|
||||
// Check if Cloudflare anti-bot is on
|
||||
if (response.code in listOf(403, 503) && response.header("Server") in serverCheck) {
|
||||
if (response.code != 503 && response.header("Server") in serverCheck) {
|
||||
logger.debug { "CloudflareInterceptor is kicking in..." }
|
||||
return try {
|
||||
chain.proceed(resolveChallenge(response))
|
||||
|
||||
Reference in New Issue
Block a user