Xinmeitulu: skip ads (#17975)
This commit is contained in:
parent
24487aba2a
commit
f0402f1f47
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Xinmeitulu'
|
||||
pkgNameSuffix = 'all.xinmeitulu'
|
||||
extClass = '.Xinmeitulu'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ class Xinmeitulu : ParsedHttpSource() {
|
|||
|
||||
override fun popularMangaRequest(page: Int) = GET("$baseUrl/page/$page")
|
||||
override fun popularMangaNextPageSelector() = ".next"
|
||||
override fun popularMangaSelector() = ".container > .row > div"
|
||||
override fun popularMangaSelector() = ".container > .row > div:has(figure)"
|
||||
override fun popularMangaFromElement(element: Element) = SManga.create().apply {
|
||||
setUrlWithoutDomain(element.select("figure > a").attr("abs:href"))
|
||||
title = element.select("figcaption").text()
|
||||
|
|
Loading…
Reference in New Issue