fix jinmantiantang (#10211)
This commit is contained in:
parent
842225ad83
commit
12dd0a19d0
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Jinmantiantang'
|
extName = 'Jinmantiantang'
|
||||||
pkgNameSuffix = 'zh.jinmantiantang'
|
pkgNameSuffix = 'zh.jinmantiantang'
|
||||||
extClass = '.Jinmantiantang'
|
extClass = '.Jinmantiantang'
|
||||||
extVersionCode = 18
|
extVersionCode = 19
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ class Jinmantiantang : ConfigurableSource, ParsedHttpSource() {
|
||||||
|
|
||||||
override fun popularMangaNextPageSelector(): String = "a.prevnext"
|
override fun popularMangaNextPageSelector(): String = "a.prevnext"
|
||||||
override fun popularMangaSelector(): String {
|
override fun popularMangaSelector(): String {
|
||||||
val baseSelector = ".list-col .well-sm"
|
val baseSelector = "div.col-xs-6.col-sm-6.col-md-4.col-lg-3.list-col"
|
||||||
val removedGenres = preferences.getString("BLOCK_GENRES_LIST", "")!!.substringBefore("//").trim()
|
val removedGenres = preferences.getString("BLOCK_GENRES_LIST", "")!!.substringBefore("//").trim()
|
||||||
// Extra selector is jquery-like selector, it uses regex to match element.text().
|
// 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.
|
// If string after 標籤 contains any word of removedGenres, the element would be ignored.
|
||||||
|
|
Loading…
Reference in New Issue