KiraScans & VioletScans: filter out paid chapters (#10630)

* bump

* update

* VioletScans
This commit is contained in:
mrtear 2025-09-20 02:44:36 -06:00 committed by Draff
parent ea0a3fded0
commit 846d2d92bd
Signed by: Draff
GPG Key ID: E8A89F3211677653
4 changed files with 5 additions and 10 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.KiraScans'
themePkg = 'mangathemesia'
baseUrl = 'https://kirascans.com'
overrideVersionCode = 0
overrideVersionCode = 1
isNsfw = false
}

View File

@ -1,18 +1,11 @@
package eu.kanade.tachiyomi.extension.en.kirascans
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.source.model.Page
import org.jsoup.nodes.Document
class KiraScans : MangaThemesia(
"Kira Scans",
"https://kirascans.com",
"en",
) {
override fun pageListParse(document: Document): List<Page> {
document.selectFirst("p.fw-semibold:contains(This chapter is locked)")?.let {
throw Exception("Chapter is locked")
}
return super.pageListParse(document)
}
override fun chapterListSelector(): String = "#chapterlist li:not(:has(svg))"
}

View File

@ -3,7 +3,7 @@ ext {
extClass = '.VioletScans'
themePkg = 'mangathemesia'
baseUrl = 'https://violetscans.com'
overrideVersionCode = 1
overrideVersionCode = 2
isNsfw = false
}

View File

@ -9,4 +9,6 @@ class VioletScans : MangaThemesia(
mangaUrlDirectory = "/comics",
) {
override val id = 9079184529211162476
override fun chapterListSelector(): String = "#chapterlist li:not(:has(svg))"
}