Tachiyomi-Extensions/multisrc/overrides/wpmangastream/sheamanga/src/SheaManga.kt

27 lines
765 B
Kotlin
Raw Normal View History

package eu.kanade.tachiyomi.extension.id.sheamanga
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.Dns
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class SheaManga : WPMangaStream(
"Shea Manga",
2022-01-09 16:23:40 +00:00
"http://sheamanga.my.id",
"id",
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id"))
) {
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.rateLimit(4)
.dns(Dns.SYSTEM)
.build()
override val hasProjectPage = true
}