Add two new sources to Madara. (#7757)

This commit is contained in:
Alessandro Jean 2021-06-20 09:38:21 -03:00 committed by GitHub
parent cb772216c4
commit 8a591393ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 0 deletions

View File

@ -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"
}

View File

@ -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"
}

View File

@ -74,6 +74,7 @@ class MadaraGenerator : ThemeSourceGenerator {
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("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("Graze Scans", "https://grazescans.com/", "en", overrideVersionCode = 1),
SingleLang("GuncelManga", "https://guncelmanga.com", "tr"),
@ -261,6 +262,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1),
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com/", "tr"),
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("Wakamics", "https://wakamics.net", "en"),
SingleLang("Wakascan", "https://wakascan.com", "fr", overrideVersionCode = 1),