Add two new sources to Madara. (#8414)
This commit is contained in:
parent
83003a1f04
commit
1fda9eb35e
|
@ -0,0 +1,26 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.rachelscanlator
|
||||
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
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
|
||||
|
||||
@Nsfw
|
||||
class RachelScanlator : Madara(
|
||||
"Rachel Scanlator",
|
||||
"https://rachelscanlator.tk",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
override val altName: String = "Nome alternativo: "
|
||||
|
||||
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.tatakaescan
|
||||
|
||||
import eu.kanade.tachiyomi.annotations.Nsfw
|
||||
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
|
||||
|
||||
@Nsfw
|
||||
class TatakaeScan : Madara(
|
||||
"Tatakae Scan",
|
||||
"https://tatakaescan.xyz",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
override val altName: String = "Nome alternativo: "
|
||||
|
||||
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
||||
}
|
|
@ -299,6 +299,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Prisma Scans", "https://prismascans.net", "pt-BR", overrideVersionCode = 1),
|
||||
SingleLang("Projeto Scanlator", "https://projetoscanlator.com", "pt-BR", overrideVersionCode = 3),
|
||||
SingleLang("QueensManga ملكات المانجا", "https://queensmanga.com", "ar", className = "QueensManga", overrideVersionCode = 1),
|
||||
SingleLang("Rachel Scanlator", "https://rachelscanlator.tk", "pt-BR", isNsfw = true),
|
||||
SingleLang("Random Scan", "https://randomscan.online", "pt-BR", overrideVersionCode = 4),
|
||||
SingleLang("Random Translations", "https://randomtranslations.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Raw Mangas", "https://rawmangas.net", "ja", isNsfw = true, overrideVersionCode = 1),
|
||||
|
@ -333,6 +334,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Sugar Babies", "https://sugarbscan.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Sweet Time Scan", "https://sweetscan.net", "pt-BR", overrideVersionCode = 2),
|
||||
SingleLang("TappyToon.Net", "https://tappytoon.net", "en", className = "Tappytoonnet"),
|
||||
SingleLang("Tatakae Scan", "https://tatakaescan.xyz", "pt-BR", isNsfw = true),
|
||||
SingleLang("TeenManhua", "https://teenmanhua.com", "en"),
|
||||
SingleLang("TheFluffyHangoutGroup", "https://www.fluffyhangout.club", "en", overrideVersionCode = 2),
|
||||
SingleLang("Three Queens Scanlator", "https://tqscan.com.br", "pt-BR", overrideVersionCode = 3),
|
||||
|
|
Loading…
Reference in New Issue