diff --git a/multisrc/overrides/mangathemesia/asurascans/src/AsuraScans.kt b/multisrc/overrides/mangathemesia/asurascans/src/AsuraScans.kt index bda060f91..734ab4d98 100644 --- a/multisrc/overrides/mangathemesia/asurascans/src/AsuraScans.kt +++ b/multisrc/overrides/mangathemesia/asurascans/src/AsuraScans.kt @@ -45,6 +45,13 @@ class AsuraScans : MangaThemesia( .addInterceptor(::urlChangeInterceptor) .addInterceptor(::domainChangeIntercept) .rateLimit(1, 3, TimeUnit.SECONDS) + .apply { + val interceptors = interceptors() + val index = interceptors.indexOfFirst { "Brotli" in it.javaClass.simpleName } + if (index >= 0) { + interceptors.add(interceptors.removeAt(index)) + } + } .build() override val seriesDescriptionSelector = "div.desc p, div.entry-content p, div[itemprop=description]:not(:has(p))" 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 949366f31..455ddd981 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 @@ -21,7 +21,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Animated Glitched Scans", "https://anigliscans.xyz", "en", overrideVersionCode = 1), SingleLang("Arven Scans", "https://arvenscans.com", "en"), SingleLang("AscalonScans", "https://ascalonscans.com", "en", overrideVersionCode = 1), - SingleLang("Asura Scans", "https://asuratoon.com", "en"), + SingleLang("Asura Scans", "https://asuratoon.com", "en", overrideVersionCode = 1), SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1), SingleLang("Banana-Scan", "https://banana-scan.com", "fr", className = "BananaScan", isNsfw = true), SingleLang("Beast Scans", "https://beastscans.net", "ar", overrideVersionCode = 1),