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

26 lines
722 B
Kotlin
Raw Normal View History

2021-06-09 21:45:47 +00:00
package eu.kanade.tachiyomi.extension.pt.prismascans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
2021-06-09 21:45:47 +00:00
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",
2021-06-09 21:45:47 +00:00
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
2021-06-09 21:45:47 +00:00
) {
// Changed their name from Prisma Scans to Demon Sect.
override val id: Long = 8168108118738519332
2021-06-09 21:45:47 +00:00
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
2021-06-09 21:45:47 +00:00
.build()
2021-10-01 21:35:24 +00:00
override val useNewChapterEndpoint = true
2021-06-09 21:45:47 +00:00
}