From 5d4154f58dea6e19cbc7c041f903cee2a93002bb Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Fri, 21 Jul 2023 04:07:58 +0200 Subject: [PATCH] Uzay Manga: fix broken thumbnails / images (#17198) --- multisrc/overrides/mangathemesia/uzaymanga/src/UzayManga.kt | 5 ++++- .../multisrc/mangathemesia/MangaThemesiaGenerator.kt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/mangathemesia/uzaymanga/src/UzayManga.kt b/multisrc/overrides/mangathemesia/uzaymanga/src/UzayManga.kt index 6ce8dcf98..d7cf87386 100644 --- a/multisrc/overrides/mangathemesia/uzaymanga/src/UzayManga.kt +++ b/multisrc/overrides/mangathemesia/uzaymanga/src/UzayManga.kt @@ -4,4 +4,7 @@ import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import java.text.SimpleDateFormat import java.util.Locale -class UzayManga : MangaThemesia("Uzay Manga", "https://uzaymanga.com", "tr", dateFormat = SimpleDateFormat("MMM d, yyyy", Locale("tr"))) +class UzayManga : MangaThemesia("Uzay Manga", "https://uzaymanga.com", "tr", dateFormat = SimpleDateFormat("MMM d, yyyy", Locale("tr"))) { + override fun headersBuilder() = super.headersBuilder() + .add("referer", "$baseUrl/") +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index 7b28452fb..02718fa85 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -121,7 +121,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Tsundoku Traduções", "https://tsundoku.com.br", "pt-BR", className = "TsundokuTraducoes", overrideVersionCode = 9), SingleLang("TukangKomik", "https://tukangkomik.id", "id", overrideVersionCode = 1), SingleLang("TurkToon", "https://turktoon.com", "tr"), - SingleLang("Uzay Manga", "https://uzaymanga.com", "tr", overrideVersionCode = 4), + SingleLang("Uzay Manga", "https://uzaymanga.com", "tr", overrideVersionCode = 5), SingleLang("Walpurgi Scan", "https://www.walpurgiscan.com", "it", overrideVersionCode = 6, className = "WalpurgisScan", pkgName = "walpurgisscan"), SingleLang("West Manga", "https://westmanga.info", "id", overrideVersionCode = 1), SingleLang("World Romance Translation", "https://wrt.my.id", "id", overrideVersionCode = 10),