This commit is contained in:
ThePromidius
2024-01-14 18:40:20 +01:00
parent 14792d2a11
commit 6f088ac76f
5620 changed files with 29879 additions and 2214 deletions

View File

@@ -0,0 +1,19 @@
package eu.kanade.tachiyomi.extension.all.hniscantrad
import eu.kanade.tachiyomi.multisrc.foolslide.FoolSlide
import eu.kanade.tachiyomi.source.SourceFactory
import okhttp3.Response
class HNIScantradFactory : SourceFactory {
override fun createSources() = listOf(HNIScantradFR(), HNIScantradEN())
}
class HNIScantradFR : FoolSlide("HNI-Scantrad", "https://hni-scantrad.com", "fr", "/lel") {
override fun chapterListParse(response: Response) =
super.chapterListParse(response).filter { "/fr/" in it.url }
}
class HNIScantradEN : FoolSlide("HNI-Scantrad", "https://hni-scantrad.com", "en", "/lel") {
override fun chapterListParse(response: Response) =
super.chapterListParse(response).filter { "/en-us/" in it.url }
}