parent
ebaccb53c1
commit
87f31ed04b
@ -3,7 +3,7 @@ ext {
|
|||||||
extClass = '.KomikStation'
|
extClass = '.KomikStation'
|
||||||
themePkg = 'mangathemesia'
|
themePkg = 'mangathemesia'
|
||||||
baseUrl = 'https://komikstation.co'
|
baseUrl = 'https://komikstation.co'
|
||||||
overrideVersionCode = 4
|
overrideVersionCode = 5
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.extension.id.komikstation
|
|||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
import eu.kanade.tachiyomi.source.model.SManga
|
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
|
|
||||||
class KomikStation : MangaThemesia("Komik Station", "https://komikstation.co", "id") {
|
class KomikStation : MangaThemesia("Komik Station", "https://komikstation.co", "id") {
|
||||||
@ -13,20 +12,6 @@ class KomikStation : MangaThemesia("Komik Station", "https://komikstation.co", "
|
|||||||
.rateLimit(4)
|
.rateLimit(4)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
override val seriesTitleSelector = ".ts-breadcrumb li[itemprop]:last-child span"
|
|
||||||
override val seriesAuthorSelector = ".infox .fmed:has(.fa-pen-fancy) span"
|
|
||||||
override val seriesArtistSelector = ".infox .fmed:has(.fa-paintbrush) span"
|
|
||||||
override val seriesTypeSelector = ".tsinfo .imptdt:has(a[href*=\"type\"]) a"
|
|
||||||
override val seriesStatusSelector = ".tsinfo .imptdt:first-child i"
|
|
||||||
|
|
||||||
override fun String?.parseStatus(): Int = when {
|
|
||||||
this == null -> SManga.UNKNOWN
|
|
||||||
listOf("ongoing", "berjalan").any { this.contains(it, ignoreCase = true) } -> SManga.ONGOING
|
|
||||||
this.contains("hiatus", ignoreCase = true) -> SManga.ON_HIATUS
|
|
||||||
this.contains("tamat", ignoreCase = true) -> SManga.COMPLETED
|
|
||||||
else -> SManga.UNKNOWN
|
|
||||||
}
|
|
||||||
|
|
||||||
override val projectPageString = "/project-list"
|
override val projectPageString = "/project-list"
|
||||||
|
|
||||||
override val hasProjectPage = true
|
override val hasProjectPage = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user