New source: tr/Tempest Fansub (#448)

* feat(multisrc/tr): New source: Tempest Fansub

* fix: Fix manga status

* chore: Add source (horrible) icon
This commit is contained in:
Claudemirovsky 2024-01-21 12:40:07 -03:00 committed by Draff
parent d49c20a530
commit f5d9d57008
7 changed files with 28 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -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
}
}

View File

@ -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"),