Tachiyomi-Extensions/multisrc/overrides/madara/helascan/src/HelaScan.kt

25 lines
660 B
Kotlin
Raw Normal View History

package eu.kanade.tachiyomi.extension.pt.helascan
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 HelaScan : Madara(
"Hela Scan",
"https://helascan.com",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
override val mangaDetailsSelectorTag = ""
}