diff --git a/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..231dc70ae Binary files /dev/null and b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..f524ab189 Binary files /dev/null and b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..6df242c0b Binary files /dev/null and b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..f41c36b6b Binary files /dev/null and b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..3ff059480 Binary files /dev/null and b/multisrc/overrides/mangathemesia/tempestfansub/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/mangathemesia/tempestfansub/src/TempestFansub.kt b/multisrc/overrides/mangathemesia/tempestfansub/src/TempestFansub.kt new file mode 100644 index 000000000..5886f0916 --- /dev/null +++ b/multisrc/overrides/mangathemesia/tempestfansub/src/TempestFansub.kt @@ -0,0 +1,27 @@ +package eu.kanade.tachiyomi.extension.tr.tempestfansub + +import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia +import eu.kanade.tachiyomi.network.interceptor.rateLimitHost +import eu.kanade.tachiyomi.source.model.SManga +import okhttp3.HttpUrl.Companion.toHttpUrl + +class TempestFansub : MangaThemesia( + "Tempest Fansub", + "https://tempestfansub.com", + "tr", +) { + override val client = super.client.newBuilder() + .rateLimitHost(baseUrl.toHttpUrl(), 2) + .build() + + // =========================== Manga Details ============================ + override val seriesArtistSelector = ".tsinfo .imptdt:contains(İllüstratör) i" + override val seriesAuthorSelector = ".tsinfo .imptdt:contains(Yazar) i" + override val seriesStatusSelector = ".tsinfo .imptdt:contains(Seri Durumu) i" + + override fun String?.parseStatus(): Int = when (this?.trim()?.lowercase()) { + "devam ediyor" -> SManga.ONGOING + "bitti" -> SManga.COMPLETED + else -> SManga.UNKNOWN + } +} 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 6ac465a65..da1028512 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 @@ -153,6 +153,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Sushiscan.fr", "https://anime-sama.me", "fr", className = "SushiScanFR", overrideVersionCode = 1), SingleLang("Tarot Scans", "https://www.tarotscans.com", "tr"), SingleLang("Tecno Scan", "https://tecnoscann.com", "es", isNsfw = true, overrideVersionCode = 6), + SingleLang("Tempest Fansub", "https://tempestfansub.com", "tr", isNsfw = true), SingleLang("Tenshi.id", "https://tenshi.id", "id", className = "TenshiId", pkgName = "masterkomik", overrideVersionCode = 4), SingleLang("The Apollo Team", "https://theapollo.team", "en"), SingleLang("Tres Daos Scan", "https://tresdaos.com", "es"),