Tachiyomi-Extensions/multisrc/overrides/madara/vaposcan/src/VapoScan.kt

25 lines
727 B
Kotlin
Raw Normal View History

package eu.kanade.tachiyomi.extension.pt.vaposcan
2021-06-20 12:38:21 +00:00
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class VapoScan : Madara(
"Vapo Scan",
"https://vaposcan.net",
2021-06-20 12:38:21 +00:00
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
2021-06-20 12:38:21 +00:00
) {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
2021-06-20 12:38:21 +00:00
.build()
override val altName: String = "Nome alternativo: "
override fun popularMangaSelector() = "div.page-item-detail.manga"
}