Riztard Lanthorn 5b9dff0b81
Split WPMangaStream Extension (#5803)
* Split WPMangaStream

* add some icons

* remove WPMangaStream

* move default_res

would be amazing

* override source id

* remove single extension

* rate limit

* add sources

Kuma Scans (Kuma Translation)
Tempest Manga

* remove multilang import

* override rate limit

* override source id

* fix class name

* remove file
2021-02-15 10:43:14 -05:00

21 lines
722 B
Kotlin

package eu.kanade.tachiyomi.extension.id.sektekomik
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import java.util.concurrent.TimeUnit
import okhttp3.OkHttpClient
class SekteKomik : WPMangaStream("Sekte Komik", "https://sektekomik.com", "id") {
// Formerly "Sekte Komik (WP Manga Stream)"
override val id = 7866629035053218469
private val rateLimitInterceptor = RateLimitInterceptor(4)
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.addNetworkInterceptor(rateLimitInterceptor)
.build()
}