2021-03-24 16:25:29 +00:00
|
|
|
package eu.kanade.tachiyomi.extension.en.mangalife
|
|
|
|
|
|
|
|
import eu.kanade.tachiyomi.multisrc.nepnep.NepNep
|
2022-06-05 21:51:18 +00:00
|
|
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
2021-03-24 16:25:29 +00:00
|
|
|
import okhttp3.OkHttpClient
|
|
|
|
import java.util.concurrent.TimeUnit
|
|
|
|
|
|
|
|
class MangaLife : NepNep("MangaLife", "https://manga4life.com", "en") {
|
|
|
|
|
|
|
|
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
2022-06-05 21:51:18 +00:00
|
|
|
.rateLimit(1, 2)
|
2021-03-24 16:25:29 +00:00
|
|
|
.connectTimeout(1, TimeUnit.MINUTES)
|
|
|
|
.readTimeout(1, TimeUnit.MINUTES)
|
|
|
|
.writeTimeout(1, TimeUnit.MINUTES)
|
|
|
|
.build()
|
|
|
|
}
|