Add two new sources to Madara. (#12174)
This commit is contained in:
parent
c8cf3cef02
commit
ff27ee858e
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.bichentraducoes
|
||||
|
||||
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 BichenTraducoes : Madara(
|
||||
"Bichen Traduções",
|
||||
"https://bichentraducoes.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 3, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.sweetdesirescan
|
||||
|
||||
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 SweetDesireScan : Madara(
|
||||
"Sweet Desire Scan",
|
||||
"https://sweetdesire.com.br",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 3, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
|
@ -56,6 +56,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Banana Cítrica", "https://dinastiacilly.com", "pt-BR", isNsfw = true, pkgName = "bananamecanica", className = "BananaCitrica", overrideVersionCode = 4),
|
||||
SingleLang("BestManga", "https://bestmanga.club", "ru", overrideVersionCode = 1),
|
||||
SingleLang("BestManhua", "https://bestmanhua.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Bichen Traduções", "https://bichentraducoes.com", "pt-BR", isNsfw = true, className = "BichenTraducoes"),
|
||||
SingleLang("Block Manga", "https://blockmanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("BlogManga", "https://blogmanga.net", "en"),
|
||||
SingleLang("Boruto Explorer", "https://leitor.borutoexplorer.com.br", "pt-BR", overrideVersionCode = 1),
|
||||
|
@ -410,6 +411,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Summanga", "https://summanga.com", "en", isNsfw = true),
|
||||
SingleLang("Sunshine Butterfly Scans", "https://sunshinebutterflyscan.com", "en", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("SuperManga", "https://supermanga.co", "en"),
|
||||
SingleLang("Sweet Desire Scan", "https://sweetdesire.com.br", "pt-BR", isNsfw = true),
|
||||
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, overrideVersionCode = 1),
|
||||
|
|
Loading…
Reference in New Issue