Add one source and rename another in Madara (#18915)
Add one source and rename another in Madara.
|
@ -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
|
||||
}
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 190 KiB |
|
@ -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()
|
|
@ -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),
|
||||
|
|