fix: Jinmantiantang: Update manga selector (#9279)
* Fix manga selector error Because of the site ui updating, the selector has to be changed. * Update version number
This commit is contained in:
parent
1da58f8553
commit
3cdba4b68a
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Jinmantiantang'
|
||||
pkgNameSuffix = 'zh.jinmantiantang'
|
||||
extClass = '.Jinmantiantang'
|
||||
extVersionCode = 15
|
||||
extVersionCode = 16
|
||||
containsNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ class Jinmantiantang : ConfigurableSource, ParsedHttpSource() {
|
|||
|
||||
override fun popularMangaNextPageSelector(): String = "a.prevnext"
|
||||
override fun popularMangaSelector(): String {
|
||||
val baseSelector = "div.col-xs-6.col-sm-6.col-md-4.col-lg-3.list-col div.well.well-sm"
|
||||
val baseSelector = ".list-col .well-sm"
|
||||
val removedGenres = preferences.getString("BLOCK_GENRES_LIST", "")!!.substringBefore("//").trim()
|
||||
// Extra selector is jquery-like selector, it uses regex to match element.text().
|
||||
// If string after 標籤 contains any word of removedGenres, the element would be ignored.
|
||||
|
|
Loading…
Reference in New Issue