From 850b77e74f6d9af46117276e535c3d3fe5f0ea6b Mon Sep 17 00:00:00 2001 From: scb261 <65343233+scb261@users.noreply.github.com> Date: Mon, 15 Feb 2021 17:36:48 +0200 Subject: [PATCH] HentaiVN: maybe fix cloudflare issue (#5870) --- src/vi/hentaivn/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/vi/hentaivn/HentaiVN.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vi/hentaivn/build.gradle b/src/vi/hentaivn/build.gradle index 9670f48b8..0ebce19ae 100644 --- a/src/vi/hentaivn/build.gradle +++ b/src/vi/hentaivn/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'HentaiVN' pkgNameSuffix = 'vi.hentaivn' extClass = '.HentaiVN' - extVersionCode = 7 + extVersionCode = 8 libVersion = '1.2' containsNsfw = true } diff --git a/src/vi/hentaivn/src/eu/kanade/tachiyomi/extension/vi/hentaivn/HentaiVN.kt b/src/vi/hentaivn/src/eu/kanade/tachiyomi/extension/vi/hentaivn/HentaiVN.kt index 8d3ee733b..410c73cbd 100644 --- a/src/vi/hentaivn/src/eu/kanade/tachiyomi/extension/vi/hentaivn/HentaiVN.kt +++ b/src/vi/hentaivn/src/eu/kanade/tachiyomi/extension/vi/hentaivn/HentaiVN.kt @@ -33,7 +33,7 @@ class HentaiVN : ParsedHttpSource() { private val searchUrl = "$baseUrl/forum/search-plus.php" private val searchClient = network.cloudflareClient - override val client: OkHttpClient = network.client.newBuilder() + override val client: OkHttpClient = network.cloudflareClient.newBuilder() .cookieJar(CookieJar.NO_COOKIES) .addInterceptor { chain -> val originalRequest = chain.request()