Add a new source to Madara. (#13955)
This commit is contained in:
parent
d4b67e2f59
commit
e579d4629a
|
@ -0,0 +1,20 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.zeroscan
|
||||
|
||||
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 ZeroScan : Madara(
|
||||
"Zero Scan",
|
||||
"https://zeroscan.com.br",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
}
|
|
@ -451,6 +451,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("YonaBar", "https://yonabar.com", "ar", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("YugenMangas", "https://yugenmangas.com.br", "pt-BR"),
|
||||
SingleLang("Yuri Verso", "https://yuri.live", "pt-BR", overrideVersionCode = 3),
|
||||
SingleLang("Zero Scan", "https://zeroscan.com.br", "pt-BR", isNsfw = true),
|
||||
SingleLang("Zinmanga", "https://zinmanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Zinmanhwa", "https://zinmanhwa.com", "en"),
|
||||
SingleLang("ZuttoManga", "https://zuttomanga.com", "en", overrideVersionCode = 1),
|
||||
|
|
Loading…
Reference in New Issue