25 lines
756 B
Kotlin
25 lines
756 B
Kotlin
package eu.kanade.tachiyomi.extension.pt.animecenterscan
|
|
|
|
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 AnimeCenterScan : Madara(
|
|
"Anime Center Scan",
|
|
"https://animecenterscan.com",
|
|
"pt-BR",
|
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
|
|
) {
|
|
|
|
override val client: OkHttpClient = super.client.newBuilder()
|
|
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
|
.build()
|
|
|
|
override val altName: String = "Nome alternativo: "
|
|
|
|
override fun popularMangaSelector() = "div.page-item-detail.manga"
|
|
}
|