From c5e7cad6a83b1da480e0b76189c87ebcfb9fd4ce Mon Sep 17 00:00:00 2001 From: beerpsi <92439990+beerpiss@users.noreply.github.com> Date: Mon, 29 Jan 2024 20:29:45 +0700 Subject: [PATCH] TM: Fix headers (#778) --- src/pt/tsukimangas/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pt/tsukimangas/build.gradle b/src/pt/tsukimangas/build.gradle index 73475367c..f086e0169 100644 --- a/src/pt/tsukimangas/build.gradle +++ b/src/pt/tsukimangas/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Tsuki Mangás' extClass = '.TsukiMangas' - extVersionCode = 3 + extVersionCode = 4 isNsfw = true } diff --git a/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt b/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt index fb945b710..580ec8013 100644 --- a/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt +++ b/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt @@ -48,7 +48,7 @@ class TsukiMangas : HttpSource() { override fun headersBuilder() = super.headersBuilder() .add("Referer", "$baseUrl/") - .add("X-Requested", "HttpsRequest") + .add("X-Requested", "HttpsRequests") private val json: Json by injectLazy()