Add a new source to Madara. (#13997)
This commit is contained in:
parent
a0e2759576
commit
a51c32b907
|
@ -0,0 +1,24 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.imperiodabritannia
|
||||
|
||||
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 ImperioDaBritannia : Madara(
|
||||
"Sagrado Império da Britannia",
|
||||
"https://imperiodabritannia.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 useNewChapterEndpoint = true
|
||||
|
||||
override val mangaDetailsSelectorTag = ""
|
||||
}
|
|
@ -366,6 +366,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("RWBY Scan", "https://rwbyscan.site", "pt-BR", isNsfw = true, className = "RwbyScan"),
|
||||
SingleLang("Rüya Manga", "https://www.ruyamanga.com", "tr", className = "RuyaManga", overrideVersionCode = 1),
|
||||
SingleLang("S2Manga", "https://s2manga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Sagrado Império da Britannia", "https://imperiodabritannia.com", "pt-BR", className = "ImperioDaBritannia"),
|
||||
SingleLang("SamuraiScan", "https://samuraiscan.com", "es", overrideVersionCode = 1),
|
||||
SingleLang("Sawamics", "https://sawamics.com", "en"),
|
||||
SingleLang("ScamberTraslator", "https://scambertraslator.com", "es"),
|
||||
|
|
Loading…
Reference in New Issue