From 711b946d91feb118d4891b47004a26da9bdc5cb8 Mon Sep 17 00:00:00 2001 From: bapeey <90949336+bapeey@users.noreply.github.com> Date: Mon, 11 Dec 2023 09:41:18 -0500 Subject: [PATCH] Hades no Fansub: Update domain (#19267) * Update domain * Is NSFW * Remove loadMoreRequest * Remove unused imports --- .../madara/hadesnofansub/src/HadesNoFansub.kt | 17 +++++++++++++++++ .../multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 multisrc/overrides/madara/hadesnofansub/src/HadesNoFansub.kt diff --git a/multisrc/overrides/madara/hadesnofansub/src/HadesNoFansub.kt b/multisrc/overrides/madara/hadesnofansub/src/HadesNoFansub.kt new file mode 100644 index 000000000..3782ed89a --- /dev/null +++ b/multisrc/overrides/madara/hadesnofansub/src/HadesNoFansub.kt @@ -0,0 +1,17 @@ +package eu.kanade.tachiyomi.extension.es.hadesnofansub + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import java.text.SimpleDateFormat +import java.util.Locale + +class HadesNoFansub : Madara( + "Hades no Fansub", + "https://hadesnofansub.com", + "es", + dateFormat = SimpleDateFormat("MM/dd/yyyy", Locale("es")), +) { + override val useNewChapterEndpoint = true + + override val mangaDetailsSelectorStatus = "div.summary_content > div.post-content div.post-content_item:has(div.summary-heading:contains(Status)) div.summary-content" + override val mangaDetailsSelectorTag = "div.tags-content a.notUsed" // Site uses this for the scanlator +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 89bbc327e..ca9575907 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -124,7 +124,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Grabber Zone", "https://grabber.zone", "all"), SingleLang("GuncelManga", "https://guncelmanga.com", "tr", overrideVersionCode = 1), SingleLang("Hades no Fansub Hentai", "https://h.mangareaderpro.com", "es", isNsfw = true), - SingleLang("Hades no Fansub", "https://mangareaderpro.com", "es", overrideVersionCode = 1), + SingleLang("Hades no Fansub", "https://hadesnofansub.com", "es", isNsfw = true, overrideVersionCode = 2, className = "HadesNoFansub"), SingleLang("Harimanga", "https://harimanga.com", "en", overrideVersionCode = 3), SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true), SingleLang("Hayalistic", "https://hayalistic.com", "tr"),