Add a new source to Madara. (#13333)
This commit is contained in:
parent
b56fe66fce
commit
e72d433459
|
@ -0,0 +1,22 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.kalangoscan
|
||||||
|
|
||||||
|
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 KalangoScan : Madara(
|
||||||
|
"Kalango Scan",
|
||||||
|
"https://kalangoscan.online",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
|
@ -164,6 +164,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("JaiminisBox.net", "https://jaiminisbox.net", "en", className = "Jaiminisboxnet"),
|
SingleLang("JaiminisBox.net", "https://jaiminisbox.net", "en", className = "Jaiminisboxnet"),
|
||||||
SingleLang("Jiangzaitoon", "https://jiangzaitoon.biz", "tr", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Jiangzaitoon", "https://jiangzaitoon.biz", "tr", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("Jiro Comics", "https://jirocomics.com", "en", isNsfw = true),
|
SingleLang("Jiro Comics", "https://jirocomics.com", "en", isNsfw = true),
|
||||||
|
SingleLang("Kalango Scan", "https://kalangoscan.online", "pt-BR"),
|
||||||
SingleLang("Kami Sama Explorer", "https://leitor.kamisama.com.br", "pt-BR", overrideVersionCode = 2),
|
SingleLang("Kami Sama Explorer", "https://leitor.kamisama.com.br", "pt-BR", overrideVersionCode = 2),
|
||||||
SingleLang("KawaScans", "https://kawascans.com", "en", overrideVersionCode = 1),
|
SingleLang("KawaScans", "https://kawascans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Kiara", "https://kiara.cool", "en"),
|
SingleLang("Kiara", "https://kiara.cool", "en"),
|
||||||
|
|
Loading…
Reference in New Issue