
* Add ratelimit to FirstKissManga * Add ratelimit to FirstKissManhua * Add ratelimit for FirstKissMangaClub * Add ratelimit to FirstKissMangaLove * Update ext.versionCode for all 1st kiss websites * Cleanup Deletes unused imports add missing import * Fix ext names in override files otherwise already installed ones will become obsolete for no reason * Fixes from testing extensions locally extension is considerably throttled but load fine with patience also fixed a bunch of links and imports that I missed because I was lazy to compile and check (which came and bite me later)
18 lines
538 B
Kotlin
18 lines
538 B
Kotlin
package eu.kanade.tachiyomi.extension.en.firstkissmangaclub
|
|
|
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|
import java.util.concurrent.TimeUnit
|
|
|
|
class FirstKissMangaClub : Madara(
|
|
"1stKissManga.Club",
|
|
"https://1stkissmanga.club",
|
|
"en"
|
|
) {
|
|
private val rateLimitInterceptor = RateLimitInterceptor(1, 2, TimeUnit.SECONDS)
|
|
|
|
override val client = network.cloudflareClient.newBuilder()
|
|
.addNetworkInterceptor(rateLimitInterceptor)
|
|
.build()
|
|
}
|