ResetScans: Fix chapter list and filter out paywalled chapters (#4845)
fix
This commit is contained in:
parent
f6bf98b764
commit
4ce4b79054
|
@ -3,7 +3,7 @@ ext {
|
||||||
extClass = '.ResetScans'
|
extClass = '.ResetScans'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://reset-scans.co'
|
baseUrl = 'https://reset-scans.co'
|
||||||
overrideVersionCode = 3
|
overrideVersionCode = 4
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,8 @@ class ResetScans : Madara(
|
||||||
"en",
|
"en",
|
||||||
dateFormat = SimpleDateFormat("MMM dd", Locale("en")),
|
dateFormat = SimpleDateFormat("MMM dd", Locale("en")),
|
||||||
) {
|
) {
|
||||||
|
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||||
override val useNewChapterEndpoint = true
|
override val useNewChapterEndpoint = true
|
||||||
override val chapterUrlSelector = ".li__text > a"
|
override fun chapterListSelector(): String = "li.wp-manga-chapter.free-chap"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue