From 696f4f2bc906821c9e136202958a07944203ac39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Marsza=C5=82ek?= <1aam2am1@users.noreply.github.com> Date: Sun, 29 Dec 2024 07:47:19 +0100 Subject: [PATCH] Fix InfinityScans Accept header (#6857) --- src/en/infinityscans/build.gradle | 2 +- .../tachiyomi/extension/en/infinityscans/InfinityScans.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/infinityscans/build.gradle b/src/en/infinityscans/build.gradle index 57491f081..5f15670a0 100644 --- a/src/en/infinityscans/build.gradle +++ b/src/en/infinityscans/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'InfinityScans' extClass = '.InfinityScans' - extVersionCode = 6 + extVersionCode = 7 isNsfw = true } diff --git a/src/en/infinityscans/src/eu/kanade/tachiyomi/extension/en/infinityscans/InfinityScans.kt b/src/en/infinityscans/src/eu/kanade/tachiyomi/extension/en/infinityscans/InfinityScans.kt index 2de258d81..5e421adb8 100644 --- a/src/en/infinityscans/src/eu/kanade/tachiyomi/extension/en/infinityscans/InfinityScans.kt +++ b/src/en/infinityscans/src/eu/kanade/tachiyomi/extension/en/infinityscans/InfinityScans.kt @@ -43,7 +43,7 @@ class InfinityScans : HttpSource() { } private val apiHeaders = headersBuilder().apply { - add("Accept", "*/*") + add("Accept", "application/json, text/javascript, */*; q=0.01") add("Sec-Fetch-Dest", "empty") add("Sec-Fetch-Mode", "cors") add("Sec-Fetch-Site", "same-origin")