Tachiyomi-Extensions/multisrc/overrides/nepnep/mangalife/src/MangaLife.kt

17 lines
550 B
Kotlin
Raw Normal View History

package eu.kanade.tachiyomi.extension.en.mangalife
import eu.kanade.tachiyomi.multisrc.nepnep.NepNep
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class MangaLife : NepNep("MangaLife", "https://manga4life.com", "en") {
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.rateLimit(1, 2)
.connectTimeout(1, TimeUnit.MINUTES)
.readTimeout(1, TimeUnit.MINUTES)
.writeTimeout(1, TimeUnit.MINUTES)
.build()
}