diff --git a/multisrc/overrides/madara/nexoscans/src/NexoScans.kt b/multisrc/overrides/madara/nexoscans/src/NexoScans.kt index 1766c7e3f3..34e1fee847 100644 --- a/multisrc/overrides/madara/nexoscans/src/NexoScans.kt +++ b/multisrc/overrides/madara/nexoscans/src/NexoScans.kt @@ -3,15 +3,22 @@ package eu.kanade.tachiyomi.extension.pt.nexoscans import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.network.interceptor.rateLimit import okhttp3.OkHttpClient +import java.text.SimpleDateFormat +import java.util.Locale import java.util.concurrent.TimeUnit class NexoScans : Madara( "Nexo Scans", "https://nexoscans.com", "pt-BR", + SimpleDateFormat("dd/MM/yyyy", Locale.US), ) { override val client: OkHttpClient = super.client.newBuilder() .rateLimit(1, 2, TimeUnit.SECONDS) .build() + + override val useNewChapterEndpoint = true + + override val chapterUrlSelector = "a:not(div.chapter-thumbnail a)" } 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 f477209d58..38fcfe59e7 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 @@ -371,7 +371,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("NekoPost.co (unoriginal)", "https://www.nekopost.co", "th", isNsfw = false, className = "NekoPostCo"), SingleLang("NekoScan", "https://nekoscan.com", "en", overrideVersionCode = 2), SingleLang("NewManhua", "https://newmanhua.com", "en", isNsfw = true), - SingleLang("Nexo Scans", "https://nexoscans.com", "pt-BR"), + SingleLang("Nexo Scans", "https://nexoscans.com", "pt-BR", overrideVersionCode = 1), SingleLang("Night Comic", "https://www.nightcomic.com", "en", overrideVersionCode = 1), SingleLang("Niji Translations", "https://niji-translations.com", "ar", overrideVersionCode = 1), SingleLang("Nitro Manga", "https://nitromanga.com", "en", className = "NitroScans", overrideVersionCode = 1),