From f6cb65688da0559d695847f7d3c11debe7396343 Mon Sep 17 00:00:00 2001 From: bapeey <90949336+bapeey@users.noreply.github.com> Date: Tue, 27 Feb 2024 10:30:38 -0500 Subject: [PATCH] Epsilon Scan: Move to Madara (#1582) * Save * Move to Madara --- src/fr/epsilonscan/build.gradle | 2 +- .../extension/fr/epsilonscan/EpsilonScan.kt | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/fr/epsilonscan/build.gradle b/src/fr/epsilonscan/build.gradle index d266a204d..efaf820de 100644 --- a/src/fr/epsilonscan/build.gradle +++ b/src/fr/epsilonscan/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Epsilon Scan' extClass = '.EpsilonScan' - themePkg = 'mangathemesia' + themePkg = 'madara' baseUrl = 'https://epsilonscan.fr' overrideVersionCode = 0 isNsfw = true diff --git a/src/fr/epsilonscan/src/eu/kanade/tachiyomi/extension/fr/epsilonscan/EpsilonScan.kt b/src/fr/epsilonscan/src/eu/kanade/tachiyomi/extension/fr/epsilonscan/EpsilonScan.kt index 5ed7772d9..3769c6c6b 100644 --- a/src/fr/epsilonscan/src/eu/kanade/tachiyomi/extension/fr/epsilonscan/EpsilonScan.kt +++ b/src/fr/epsilonscan/src/eu/kanade/tachiyomi/extension/fr/epsilonscan/EpsilonScan.kt @@ -1,7 +1,19 @@ package eu.kanade.tachiyomi.extension.fr.epsilonscan -import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia +import eu.kanade.tachiyomi.multisrc.madara.Madara import java.text.SimpleDateFormat import java.util.Locale -class EpsilonScan : MangaThemesia("Epsilon Scan", "https://epsilonscan.fr", "fr", dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale.FRENCH)) +class EpsilonScan : Madara( + "Epsilon Scan", + "https://epsilonscan.fr", + "fr", + SimpleDateFormat("dd/MM/yy", Locale.FRENCH), +) { + // Site moved from MangaThemesia to Madara + override val versionId = 2 + + override val useLoadMoreRequest = LoadMoreStrategy.Always + + override val useNewChapterEndpoint = true +}