From fc74e1dc211d1a907157e48be4134e9b738bdd35 Mon Sep 17 00:00:00 2001 From: Yush0DAN <157328957+Yush0DAN@users.noreply.github.com> Date: Thu, 1 Aug 2024 02:08:11 -0600 Subject: [PATCH] ManhwaWeb: Add header fix some covers (#4373) add header, some covers did not load --- src/es/manhwaweb/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/es/manhwaweb/ManhwaWeb.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/es/manhwaweb/build.gradle b/src/es/manhwaweb/build.gradle index 017c320e7..29ef2afac 100644 --- a/src/es/manhwaweb/build.gradle +++ b/src/es/manhwaweb/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'ManhwaWeb' extClass = '.ManhwaWeb' - extVersionCode = 4 + extVersionCode = 5 isNsfw = true } diff --git a/src/es/manhwaweb/src/eu/kanade/tachiyomi/extension/es/manhwaweb/ManhwaWeb.kt b/src/es/manhwaweb/src/eu/kanade/tachiyomi/extension/es/manhwaweb/ManhwaWeb.kt index bf0aa6916..964b1bdb3 100644 --- a/src/es/manhwaweb/src/eu/kanade/tachiyomi/extension/es/manhwaweb/ManhwaWeb.kt +++ b/src/es/manhwaweb/src/eu/kanade/tachiyomi/extension/es/manhwaweb/ManhwaWeb.kt @@ -38,6 +38,7 @@ class ManhwaWeb : HttpSource() { override fun headersBuilder(): Headers.Builder = super.headersBuilder() .add("Referer", "$baseUrl/") + .add("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8") override fun popularMangaRequest(page: Int): Request = GET("$apiUrl/manhwa/nuevos", headers)