diff --git a/multisrc/overrides/madara/ninjascan/src/NinjaScan.kt b/multisrc/overrides/madara/ninjascan/src/NinjaScan.kt index a74850c7e..bba7cc09b 100644 --- a/multisrc/overrides/madara/ninjascan/src/NinjaScan.kt +++ b/multisrc/overrides/madara/ninjascan/src/NinjaScan.kt @@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit class NinjaScan : Madara( "Ninja Scan", - "https://ninjascan.xyz", + "https://ninjascan.site", "pt-BR", SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")), ) { @@ -17,4 +17,6 @@ class NinjaScan : Madara( override val client: OkHttpClient = super.client.newBuilder() .rateLimit(1, 2, TimeUnit.SECONDS) .build() + + override val useNewChapterEndpoint = true } diff --git a/multisrc/overrides/madara/wickedwitchscan/src/WickedWitchScan.kt b/multisrc/overrides/madara/wickedwitchscan/src/WickedWitchScan.kt new file mode 100644 index 000000000..8123e7f47 --- /dev/null +++ b/multisrc/overrides/madara/wickedwitchscan/src/WickedWitchScan.kt @@ -0,0 +1,20 @@ +package eu.kanade.tachiyomi.extension.pt.wickedwitchscan + +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 WickedWitchScan : Madara( + "Wicked Witch Scan", + "https://wickedwitchscan.com", + "pt-BR", + SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), +) { + + override val client: OkHttpClient = super.client.newBuilder() + .rateLimit(1, 2, TimeUnit.SECONDS) + .build() +} 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 f3f063f80..ca65fbd7d 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 @@ -326,7 +326,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("NekoScan", "https://nekoscan.com", "en", overrideVersionCode = 2), SingleLang("Night Comic", "https://www.nightcomic.com", "en", overrideVersionCode = 1), SingleLang("Niji Translations", "https://niji-translations.com", "ar", overrideVersionCode = 1), - SingleLang("Ninja Scan", "https://ninjascan.xyz", "pt-BR", overrideVersionCode = 1), + SingleLang("Ninja Scan", "https://ninjascan.site", "pt-BR", overrideVersionCode = 2), SingleLang("Nitro Scans", "https://nitroscans.com", "en"), SingleLang("No Index Scan", "https://noindexscan.com", "pt-BR", isNsfw = true), SingleLang("Nocturne Summer", "https://nocsummer.com.br", "pt-BR", isNsfw = true), @@ -444,6 +444,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("WebtoonsTOP", "https://webtoons.top", "en", isNsfw = true), SingleLang("WebtoonUK", "https://webtoon.uk", "en", overrideVersionCode = 2), SingleLang("WebtoonXYZ", "https://www.webtoon.xyz", "en", isNsfw = true, overrideVersionCode = 3), + SingleLang("Wicked Witch Scan", "https://wickedwitchscan.com", "pt-BR"), SingleLang("Winter Scan", "https://winterscan.com", "pt-BR", overrideVersionCode = 4), SingleLang("Wonderland Scan", "https://wonderlandscan.com", "pt-BR", overrideVersionCode = 3), SingleLang("WoopRead", "https://woopread.com", "en", overrideVersionCode = 1),