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

23 lines
618 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 PrismaScans : Madara(
"Prisma Scans",
"https://prismacomics.com",
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
) {
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
}