Soul Scans: tweak page selector, filter novel series (#5382)
- exclude ads from page list - filter novel series when browsing
This commit is contained in:
parent
b1bda6d46a
commit
8003ab180d
|
@ -3,7 +3,7 @@ ext {
|
|||
extClass = '.SoulScans'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://soulscans.my.id'
|
||||
overrideVersionCode = 1
|
||||
overrideVersionCode = 2
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -9,6 +9,8 @@ class SoulScans : MangaThemesia("Soul Scans", "https://soulscans.my.id", "id") {
|
|||
|
||||
override val hasProjectPage = true
|
||||
|
||||
override fun searchMangaSelector() = ".listupd .bs .bsx:not(:has(.novelabel))"
|
||||
|
||||
override fun mangaDetailsParse(document: Document) = SManga.create().apply {
|
||||
document.selectFirst(seriesDetailsSelector)?.let { seriesDetails ->
|
||||
title = seriesDetails.selectFirst(seriesTitleSelector)?.text().orEmpty()
|
||||
|
@ -38,4 +40,6 @@ class SoulScans : MangaThemesia("Soul Scans", "https://soulscans.my.id", "id") {
|
|||
seriesDetails.select(seriesThumbnailSelector).firstOrNull()?.let { thumbnail_url = it.imgAttr() }
|
||||
}
|
||||
}
|
||||
|
||||
override val pageSelector = "div#readerarea img:not([src*='.gif'])"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue