Add a new source to Madara. (#13720)
This commit is contained in:
parent
701f5640a0
commit
4eb7d280a2
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.wonderlandscan
|
||||
|
||||
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 WonderlandScan : Madara(
|
||||
"Wonderland Scan",
|
||||
"https://wonderlandscan.com",
|
||||
"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
|
||||
}
|
|
@ -474,6 +474,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("WebtoonUK", "https://webtoon.uk", "en", overrideVersionCode = 2),
|
||||
SingleLang("WebtoonXYZ", "https://www.webtoon.xyz", "en", isNsfw = true, overrideVersionCode = 3),
|
||||
SingleLang("Winter Scan", "https://winterscan.com", "pt-BR", overrideVersionCode = 4),
|
||||
SingleLang("Wonderland Scan", "https://wonderlandscan.com", "pt-BR", overrideVersionCode = 3),
|
||||
SingleLang("WoopRead", "https://woopread.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("WuxiaWorld", "https://wuxiaworld.site", "en", overrideVersionCode = 1),
|
||||
SingleLang("XuN Scans", "https://xunscans.xyz", "en", overrideVersionCode = 3),
|
||||
|
|
Loading…
Reference in New Issue