nicki 29707fe4fd
Add Ratelimit for 1st Kiss sources (#11310)
* 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)
2022-04-03 11:49:42 -04:00

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()
}