Tachiyomi-Extensions/multisrc/overrides/madara/prismascans/src/DemonSect.kt

26 lines
722 B
Kotlin

package eu.kanade.tachiyomi.extension.pt.prismascans
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 DemonSect : Madara(
"Demon Sect",
"https://demonsect.com.br",
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
) {
// Changed their name from Prisma Scans to Demon Sect.
override val id: Long = 8168108118738519332
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
}