Add two new sources to Madara. (#7757)
This commit is contained in:
parent
cb772216c4
commit
8a591393ac
|
@ -0,0 +1,24 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.geassscan
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class GeassScan : Madara(
|
||||||
|
"Geass Scan",
|
||||||
|
"https://geassscan.xyz",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val altName: String = "Nome alternativo: "
|
||||||
|
|
||||||
|
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.visbellum
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class Visbellum : Madara(
|
||||||
|
"Visbellum",
|
||||||
|
"https://visbellum.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val altName: String = "Nome alternativo: "
|
||||||
|
|
||||||
|
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||||
|
}
|
|
@ -74,6 +74,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Furio Scans", "https://furioscans.com", "pt-BR", overrideVersionCode = 2),
|
SingleLang("Furio Scans", "https://furioscans.com", "pt-BR", overrideVersionCode = 2),
|
||||||
SingleLang("Fênix Scanlator", "https://fenixscanlator.xyz", "pt-BR", pkgName = "fenixscanlator", className = "FenixScanlator", overrideVersionCode = 1),
|
SingleLang("Fênix Scanlator", "https://fenixscanlator.xyz", "pt-BR", pkgName = "fenixscanlator", className = "FenixScanlator", overrideVersionCode = 1),
|
||||||
SingleLang("GalaxyDegenScans", "https://gdegenscans.xyz/", "en", overrideVersionCode = 1),
|
SingleLang("GalaxyDegenScans", "https://gdegenscans.xyz/", "en", overrideVersionCode = 1),
|
||||||
|
SingleLang("Geass Scan", "https://geassscan.xyz", "pt-BR"),
|
||||||
SingleLang("Glory Scans", "https://gloryscan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Glory Scans", "https://gloryscan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("Graze Scans", "https://grazescans.com/", "en", overrideVersionCode = 1),
|
SingleLang("Graze Scans", "https://grazescans.com/", "en", overrideVersionCode = 1),
|
||||||
SingleLang("GuncelManga", "https://guncelmanga.com", "tr"),
|
SingleLang("GuncelManga", "https://guncelmanga.com", "tr"),
|
||||||
|
@ -261,6 +262,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com/", "tr"),
|
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com/", "tr"),
|
||||||
SingleLang("Vanguard Bun", "https://vanguardbun.com/", "en", overrideVersionCode = 1),
|
SingleLang("Vanguard Bun", "https://vanguardbun.com/", "en", overrideVersionCode = 1),
|
||||||
|
SingleLang("Visbellum", "https://visbellum.com", "pt-BR"),
|
||||||
SingleLang("Volkan Scans", "https://volkanscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Volkan Scans", "https://volkanscans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Wakamics", "https://wakamics.net", "en"),
|
SingleLang("Wakamics", "https://wakamics.net", "en"),
|
||||||
SingleLang("Wakascan", "https://wakascan.com", "fr", overrideVersionCode = 1),
|
SingleLang("Wakascan", "https://wakascan.com", "fr", overrideVersionCode = 1),
|
||||||
|
|
Loading…
Reference in New Issue