Tachiyomi-Extensions/multisrc/overrides/madara/ninjascan/src/NinjaScan.kt

21 lines
570 B
Kotlin
Raw Normal View History

2021-08-10 18:04:13 +00:00
package eu.kanade.tachiyomi.extension.pt.ninjascan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
2021-08-10 18:04:13 +00:00
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class NinjaScan : Madara(
"Ninja Scan",
"https://ninjascan.xyz",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
2021-08-10 18:04:13 +00:00
.build()
}