
* 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
17 lines
628 B
Kotlin
17 lines
628 B
Kotlin
package eu.kanade.tachiyomi.extension.id.mangashiro
|
|
|
|
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
|
import okhttp3.OkHttpClient
|
|
import java.util.concurrent.TimeUnit
|
|
|
|
class MangaShiro : WPMangaStream("MangaShiro", "https://mangashiro.co", "id") {
|
|
private val rateLimitInterceptor = RateLimitInterceptor(4)
|
|
|
|
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
|
.connectTimeout(10, TimeUnit.SECONDS)
|
|
.readTimeout(30, TimeUnit.SECONDS)
|
|
.addNetworkInterceptor(rateLimitInterceptor)
|
|
.build()
|
|
}
|