diff --git a/multisrc/overrides/madara/mangananquim/src/MangaNanquim.kt b/multisrc/overrides/madara/mangananquim/src/MangaNanquim.kt new file mode 100644 index 000000000..6262e90c5 --- /dev/null +++ b/multisrc/overrides/madara/mangananquim/src/MangaNanquim.kt @@ -0,0 +1,24 @@ +package eu.kanade.tachiyomi.extension.pt.mangananquim + +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 MangaNanquim : Madara( + "Mangá Nanquim", + "https://mangananquim.com", + "pt-BR", + SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")), +) { + + override val client: OkHttpClient = super.client.newBuilder() + .rateLimit(1, 2, TimeUnit.SECONDS) + .build() + + override val mangaSubString = "ler-manga" + + override val useNewChapterEndpoint = true +} diff --git a/multisrc/overrides/madara/prismascans/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/madara/prismascans/res/mipmap-hdpi/ic_launcher.png index 3b60a9651..f2ce0ea2a 100644 Binary files a/multisrc/overrides/madara/prismascans/res/mipmap-hdpi/ic_launcher.png and b/multisrc/overrides/madara/prismascans/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/prismascans/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/madara/prismascans/res/mipmap-mdpi/ic_launcher.png index 8dbc77765..a095dfa38 100644 Binary files a/multisrc/overrides/madara/prismascans/res/mipmap-mdpi/ic_launcher.png and b/multisrc/overrides/madara/prismascans/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/prismascans/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/madara/prismascans/res/mipmap-xhdpi/ic_launcher.png index 9701fd78e..1673491c7 100644 Binary files a/multisrc/overrides/madara/prismascans/res/mipmap-xhdpi/ic_launcher.png and b/multisrc/overrides/madara/prismascans/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/prismascans/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/madara/prismascans/res/mipmap-xxhdpi/ic_launcher.png index f8efd0676..dd419c46c 100644 Binary files a/multisrc/overrides/madara/prismascans/res/mipmap-xxhdpi/ic_launcher.png and b/multisrc/overrides/madara/prismascans/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/prismascans/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/madara/prismascans/res/mipmap-xxxhdpi/ic_launcher.png index f4a6538b5..f77543914 100644 Binary files a/multisrc/overrides/madara/prismascans/res/mipmap-xxxhdpi/ic_launcher.png and b/multisrc/overrides/madara/prismascans/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/madara/prismascans/res/web_hi_res_512.png b/multisrc/overrides/madara/prismascans/res/web_hi_res_512.png index c7fcf3b16..f2042137e 100644 Binary files a/multisrc/overrides/madara/prismascans/res/web_hi_res_512.png and b/multisrc/overrides/madara/prismascans/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/madara/prismascans/src/PrismaScans.kt b/multisrc/overrides/madara/prismascans/src/DemonSect.kt similarity index 74% rename from multisrc/overrides/madara/prismascans/src/PrismaScans.kt rename to multisrc/overrides/madara/prismascans/src/DemonSect.kt index 3c6f0707a..878d1f4a0 100644 --- a/multisrc/overrides/madara/prismascans/src/PrismaScans.kt +++ b/multisrc/overrides/madara/prismascans/src/DemonSect.kt @@ -7,13 +7,16 @@ import java.text.SimpleDateFormat import java.util.Locale import java.util.concurrent.TimeUnit -class PrismaScans : Madara( - "Prisma Scans", - "https://prismacomics.com", +class DemonSect : Madara( + "Demon Sect", + "https://demonsect.com.br", "pt-BR", SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), ) { + // Changed their name from Prisma Scans to Demon Sect. + override val id: Long = 8168108118738519332 + 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 5278f115d..145b9ba76 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 @@ -83,6 +83,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("DapRob", "https://daprob.com", "es"), SingleLang("Dark Scans", "https://darkscans.com", "en", overrideVersionCode = 1), SingleLang("Decadence Scans", "https://reader.decadencescans.com", "en", isNsfw = true, overrideVersionCode = 2), + SingleLang("Demon Sect", "https://demonsect.com.br", "pt-BR", pkgName = "prismascans", overrideVersionCode = 4), SingleLang("Dessert Scan", "https://cabaredowatame.site", "pt-BR", isNsfw = true), SingleLang("DiamondFansub", "https://diamondfansub.com", "tr", overrideVersionCode = 1), SingleLang("DokkoManga", "https://dokkomanga.com", "es", overrideVersionCode = 1), @@ -315,6 +316,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("MangaX1", "https://mangax1.com", "en"), SingleLang("Mangaxico", "https://mangaxico.com", "es", isNsfw = true), SingleLang("MangaXP", "https://mangaxp.com", "en", overrideVersionCode = 1), + SingleLang("Mangá Nanquim", "https://mangananquim.com", "pt-BR", className = "MangaNanquim"), SingleLang("MangaYami", "https://www.mangayami.club", "en", overrideVersionCode = 2), SingleLang("Manhastro", "https://manhastro.com", "pt-BR"), SingleLang("Manhatic", "https://manhatic.com", "ar", isNsfw = true), @@ -410,7 +412,6 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Pornwha", "https://pornwha.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Portal Yaoi", "https://portalyaoi.com", "pt-BR", isNsfw = true), SingleLang("Prisma Hentais", "https://prismahentai.com", "pt-BR", isNsfw = true), - SingleLang("Prisma Scans", "https://prismacomics.com", "pt-BR", overrideVersionCode = 3), SingleLang("Projeto Scanlator", "https://projetoscanlator.com", "pt-BR", overrideVersionCode = 3), SingleLang("Ragnarok Scanlation", "https://ragnarokscanlation.com", "es", className = "RagnarokScanlation"), SingleLang("RagnarokScan", "https://ragnarokscan.com", "es", overrideVersionCode = 1),