Jinmantiantang; update URL and fix selector (#11147)
This commit is contained in:
parent
dc35b5cca3
commit
2368b37c7c
|
@ -22,18 +22,18 @@
|
||||||
android:host="18comic.org"
|
android:host="18comic.org"
|
||||||
android:pathPattern="/album/..*"
|
android:pathPattern="/album/..*"
|
||||||
android:scheme="https" />
|
android:scheme="https" />
|
||||||
<data
|
|
||||||
android:host="jmcomic5.cc"
|
|
||||||
android:pathPattern="/album/..*"
|
|
||||||
android:scheme="https" />
|
|
||||||
<data
|
|
||||||
android:host="jmcomic8.cc"
|
|
||||||
android:pathPattern="/album/..*"
|
|
||||||
android:scheme="https" />
|
|
||||||
<data
|
<data
|
||||||
android:host="jmcomic9.cc"
|
android:host="jmcomic9.cc"
|
||||||
android:pathPattern="/album/..*"
|
android:pathPattern="/album/..*"
|
||||||
android:scheme="https" />
|
android:scheme="https" />
|
||||||
|
<data
|
||||||
|
android:host="jmcomic.mobi"
|
||||||
|
android:pathPattern="/album/..*"
|
||||||
|
android:scheme="https" />
|
||||||
|
<data
|
||||||
|
android:host="jmcomic1.mobi"
|
||||||
|
android:pathPattern="/album/..*"
|
||||||
|
android:scheme="https" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Jinmantiantang'
|
extName = 'Jinmantiantang'
|
||||||
pkgNameSuffix = 'zh.jinmantiantang'
|
pkgNameSuffix = 'zh.jinmantiantang'
|
||||||
extClass = '.Jinmantiantang'
|
extClass = '.Jinmantiantang'
|
||||||
extVersionCode = 22
|
extVersionCode = 23
|
||||||
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 = "div.col-xs-6.col-sm-6.col-md-4.col-lg-3.list-col"
|
val baseSelector = "div.list-col:not([style])"
|
||||||
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.
|
||||||
|
@ -562,7 +562,7 @@ class Jinmantiantang : ConfigurableSource, ParsedHttpSource() {
|
||||||
// Please also update AndroidManifest
|
// Please also update AndroidManifest
|
||||||
private val SITE_ENTRIES_ARRAY = arrayOf(
|
private val SITE_ENTRIES_ARRAY = arrayOf(
|
||||||
DEFAULT_SITE, "18comic.org",
|
DEFAULT_SITE, "18comic.org",
|
||||||
"jmcomic8.cc", "jmcomic9.cc", "jmcomic9.cc"
|
"jmcomic.mobi", "jmcomic1.mobi", "jmcomic1.mobi"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue