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"),