StoneScape: hide premium chapters (#2140)

This commit is contained in:
Vetle Ledaal 2024-03-29 06:55:16 +00:00 committed by GitHub
parent 4337db6ad0
commit 213b5d64d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View File

@ -3,7 +3,8 @@ ext {
extClass = '.StoneScape'
themePkg = 'madara'
baseUrl = 'https://stonescape.xyz'
overrideVersionCode = 0
overrideVersionCode = 1
isNsfw = false
}
apply from: "$rootDir/common.gradle"

View File

@ -8,8 +8,13 @@ class StoneScape : Madara(
"StoneScape",
"https://stonescape.xyz",
"en",
SimpleDateFormat("MMMM dd, yyyy", Locale("en")),
SimpleDateFormat("MMMM dd, yyyy", Locale.ENGLISH),
) {
override val mangaSubString = "series"
override val chapterUrlSelector = "div + a"
override val chapterUrlSelector = "li > a"
override val mangaDetailsSelectorAuthor = ".post-content .manga-authors a"
override fun chapterListSelector() = "li.wp-manga-chapter:not(.premium-block)"
}