AwkwardPeak7 93bc84108c
Move wpchapterprotector logic to Madara base class (#17006)
* move wpchapterprotector logic to Madara base class

* selectFirst
2023-07-05 18:30:02 -04:00

23 lines
613 B
Kotlin

package eu.kanade.tachiyomi.extension.pt.cerisescans
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 CeriseScans : Madara(
"Cerise Scans",
"https://cerisescans.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
}