extensions-source/multisrc/overrides/heancms/perfscan/src/PerfScan.kt

18 lines
574 B
Kotlin
Raw Normal View History

2024-01-09 06:12:39 +08:00
package eu.kanade.tachiyomi.extension.fr.perfscan
import eu.kanade.tachiyomi.multisrc.heancms.HeanCms
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.OkHttpClient
class PerfScan : HeanCms("Perf Scan", "https://perf-scan.fr", "fr") {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimitHost(apiUrl.toHttpUrl(), 1, 2)
.build()
override val coverPath: String = ""
override val useNewQueryEndpoint = true
override val slugStrategy = SlugStrategy.ID
}