extensions-source/multisrc/overrides/mangathemesia/mangakyo/src/Mangakyo.kt

27 lines
985 B
Kotlin
Raw Normal View History

2024-01-09 06:12:39 +08:00
package eu.kanade.tachiyomi.extension.id.mangakyo
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
class Mangakyo : MangaThemesia(
"Mangakyo",
"https://mangakyo.org",
"id",
"/komik",
SimpleDateFormat("MMM d, yyyy", Locale("id")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(4)
.build()
override val seriesTitleSelector = ".ts-breadcrumb li:last-child span"
override val seriesAuthorSelector = ".infotable tr:contains(Pengarang) td:last-child"
override val seriesDescriptionSelector = ".entry-content[itemprop=description] p:not(:contains(melapor ke fanspage))"
override val seriesAltNameSelector = ".infotable tr:contains(Alternatif) td:last-child"
override val seriesTypeSelector = ".infotable tr:contains(Tipe) td:last-child"
}