Add two new sources to Madara. (#13406)
This commit is contained in:
parent
ccb2cda7ac
commit
8e00e14dc2
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.izakaya
|
||||
|
||||
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 Izakaya : Madara(
|
||||
"Izakaya",
|
||||
"https://leitorizakaya.net",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.yaoicomics
|
||||
|
||||
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 YaoiComics : Madara(
|
||||
"Yaoi Comics",
|
||||
"https://ycscan.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
|
||||
}
|
|
@ -162,6 +162,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("IsekaiScan.eu (unoriginal)", "https://isekaiscan.eu", "en", className = "IsekaiscanEu"),
|
||||
SingleLang("IsekaiScanManga (unoriginal)", "https://isekaiscanmanga.com", "en", className = "IsekaiScanManga", overrideVersionCode = 1),
|
||||
SingleLang("Its Your Right Manhua", "https://itsyourightmanhua.com", "en", className = "ItsYourRightManhua", overrideVersionCode = 2),
|
||||
SingleLang("Izakaya", "https://leitorizakaya.net", "pt-BR", isNsfw = true),
|
||||
SingleLang("JaiminisBox.net", "https://jaiminisbox.net", "en", className = "Jaiminisboxnet"),
|
||||
SingleLang("Jiangzaitoon", "https://jiangzaitoon.biz", "tr", isNsfw = true, overrideVersionCode = 1),
|
||||
SingleLang("Jiro Comics", "https://jirocomics.com", "en", isNsfw = true),
|
||||
|
@ -491,6 +492,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("WuxiaWorld", "https://wuxiaworld.site", "en", overrideVersionCode = 1),
|
||||
SingleLang("XManga", "https://xmanga.io", "en", isNsfw = true),
|
||||
SingleLang("XuN Scans", "https://xunscans.xyz", "en", overrideVersionCode = 3),
|
||||
SingleLang("Yaoi Comics", "https://ycscan.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("YANP Fansub", "https://melhorcasal.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("Yaoi Hentai", "https://yaoihentai.me", "en", isNsfw = true),
|
||||
SingleLang("Yaoi Toshokan", "https://yaoitoshokan.net", "pt-BR", isNsfw = true, overrideVersionCode = 4),
|
||||
|
|
Loading…
Reference in New Issue