extensions-source/multisrc/overrides/zeistmanga/sobatmanku/SobatManKu.kt

20 lines
587 B
Kotlin
Raw Normal View History

2024-01-09 06:12:39 +08:00
package eu.kanade.tachiyomi.extension.id.sobatmanku
import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
class SobatManKu : ZeistManga("SobatManKu", "https://www.sobatmanku19.site", "id") {
override val hasFilters = true
override fun chapterListParse(response: Response): List<SChapter> {
return super.chapterListParse(response).onEach {
// fix some chapter name
it.name = it.name.run {
substring(indexOf("Chapter"))
}
}
}
}