mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
StoneScape: hide premium chapters (#2140)
This commit is contained in:
parent
4337db6ad0
commit
213b5d64d0
@ -3,7 +3,8 @@ ext {
|
||||
extClass = '.StoneScape'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://stonescape.xyz'
|
||||
overrideVersionCode = 0
|
||||
overrideVersionCode = 1
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -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)"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user