From e30975cf658c45518b6fc45d8d2bbb711fee8402 Mon Sep 17 00:00:00 2001 From: zeredouni <80139822+zeredouni@users.noreply.github.com> Date: Wed, 2 Mar 2022 22:42:05 +0000 Subject: [PATCH] MangaSwato : Fix images not loading again (#10997) * Update MangaSwat.kt * Update WPMangaStreamGenerator.kt --- multisrc/overrides/wpmangastream/mangaswat/src/MangaSwat.kt | 2 +- .../tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/wpmangastream/mangaswat/src/MangaSwat.kt b/multisrc/overrides/wpmangastream/mangaswat/src/MangaSwat.kt index 2e9ba210d..ba753e2cf 100644 --- a/multisrc/overrides/wpmangastream/mangaswat/src/MangaSwat.kt +++ b/multisrc/overrides/wpmangastream/mangaswat/src/MangaSwat.kt @@ -59,7 +59,7 @@ class MangaSwat : WPMangaStream("MangaSwat", "https://swatmanga.co", "ar", Simpl override fun pageListParse(document: Document): List { return document.select(pageSelector) .filterNot { it.attr("src").isNullOrEmpty() } - .mapIndexed { i, img -> Page(i, "", img.attr("data-src")) } + .mapIndexed { i, img -> Page(i, "", img.attr("src")) } } override fun getFilterList() = FilterList( diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt index 81a882105..9f816123c 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt @@ -34,7 +34,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator { SingleLang("Komik AV", "https://komikav.com", "id", overrideVersionCode = 1), SingleLang("Komik Cast", "https://komikcast.com", "id", overrideVersionCode = 9), SingleLang("West Manga", "https://westmanga.info", "id", overrideVersionCode = 1), - SingleLang("MangaSwat", "https://swatmanga.co", "ar", overrideVersionCode = 5), + SingleLang("MangaSwat", "https://swatmanga.co", "ar", overrideVersionCode = 6), SingleLang("Manga Raw.org", "https://mangaraw.org", "ja", className = "MangaRawOrg", overrideVersionCode = 1), SingleLang("Manga Pro Z", "https://mangaprotm.com", "ar", overrideVersionCode = 1), SingleLang("Mihentai", "https://mihentai.com", "en", isNsfw = true, overrideVersionCode = 1),