diff --git a/multisrc/overrides/mangathemesia/komiksan/src/Komiksan.kt b/multisrc/overrides/mangathemesia/komiksan/src/Komiksan.kt new file mode 100644 index 000000000..af8146649 --- /dev/null +++ b/multisrc/overrides/mangathemesia/komiksan/src/Komiksan.kt @@ -0,0 +1,16 @@ +package eu.kanade.tachiyomi.extension.id.komiksan + +import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import okhttp3.OkHttpClient +import org.jsoup.nodes.Document + +class Komiksan : MangaThemesia("Komiksan", "https://komiksan.link", "id", "/list") { + override val client: OkHttpClient = super.client.newBuilder() + .rateLimit(4) + .build() + + override fun mangaDetailsParse(document: Document) = super.mangaDetailsParse(document).apply { + title = document.selectFirst(seriesThumbnailSelector)!!.attr("alt") + } +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index 7eb71e95e..5e48fbd17 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -44,7 +44,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("KataKomik", "https://katakomik.online", "id"), SingleLang("Komik Seru", "https://komikseru.me", "id", isNsfw = true), SingleLang("Kanzenin", "https://kanzenin.xyz", "id", isNsfw = true), - SingleLang("KomikSan", "https://komiksan.ml", "id", overrideVersionCode = 1), + SingleLang("Komiksan", "https://komiksan.link", "id", overrideVersionCode = 2), SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 6), SingleLang("Komik AV", "https://komikav.com", "id", overrideVersionCode = 1), SingleLang("Komik Cast", "https://komikcast.io", "id", overrideVersionCode = 19),