Vetle Ledaal 83e66c03f8
Mangakakalot.fun: fix failing CI (#10740)
* Mangakakalot.fun: fix failing CI

* auto format
2022-02-07 10:14:52 -05:00

19 lines
528 B
Kotlin

package eu.kanade.tachiyomi.extension.en.mangatownhub
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.mangahub.MangaHub
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class MangaTownHub : MangaHub(
"MangaTown (unoriginal)",
"https://manga.town",
"en"
) {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
.build()
override val serverId = "mt01"
}