mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-26 04:03:01 +01:00
StoneScape: hide premium chapters (#2140)
This commit is contained in:
parent
4337db6ad0
commit
213b5d64d0
@ -3,7 +3,8 @@ ext {
|
|||||||
extClass = '.StoneScape'
|
extClass = '.StoneScape'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://stonescape.xyz'
|
baseUrl = 'https://stonescape.xyz'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -8,8 +8,13 @@ class StoneScape : Madara(
|
|||||||
"StoneScape",
|
"StoneScape",
|
||||||
"https://stonescape.xyz",
|
"https://stonescape.xyz",
|
||||||
"en",
|
"en",
|
||||||
SimpleDateFormat("MMMM dd, yyyy", Locale("en")),
|
SimpleDateFormat("MMMM dd, yyyy", Locale.ENGLISH),
|
||||||
) {
|
) {
|
||||||
override val mangaSubString = "series"
|
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