Add Perf Scan to HeanCms (#17866)

* Add Perf Scan to HeanCms

* Remove blank lines in PerfScan.kt
This commit is contained in:
KirinRaikage 2023-09-10 20:44:22 +02:00 committed by GitHub
parent fe03803456
commit 9ff49acf4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@ -0,0 +1,15 @@
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
}

View File

@ -14,6 +14,7 @@ class HeanCmsGenerator : ThemeSourceGenerator {
override val sources = listOf(
SingleLang("Glorious Scan", "https://gloriousscan.com", "pt-BR", overrideVersionCode = 17),
SingleLang("Omega Scans", "https://omegascans.org", "en", isNsfw = true, overrideVersionCode = 17),
SingleLang("Perf Scan", "https://perf-scan.fr", "fr"),
SingleLang("Reaper Scans", "https://reaperscans.net", "pt-BR", overrideVersionCode = 36),
SingleLang("YugenMangas", "https://yugenmangas.net", "es", isNsfw = true, overrideVersionCode = 8),
)