HentaiMode: update browse selector (#2181)
This commit is contained in:
parent
2a2d4ed46d
commit
96a3e3c8e4
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'HentaiMode'
|
extName = 'HentaiMode'
|
||||||
extClass = '.HentaiMode'
|
extClass = '.HentaiMode'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ class HentaiMode : ParsedHttpSource() {
|
||||||
// ============================== Popular ===============================
|
// ============================== Popular ===============================
|
||||||
override fun popularMangaRequest(page: Int) = GET(baseUrl, headers)
|
override fun popularMangaRequest(page: Int) = GET(baseUrl, headers)
|
||||||
|
|
||||||
override fun popularMangaSelector() = "div.row div.book-list > a"
|
override fun popularMangaSelector() = "div.row div[class*=\"book-list\"] > a"
|
||||||
|
|
||||||
override fun popularMangaFromElement(element: Element) = SManga.create().apply {
|
override fun popularMangaFromElement(element: Element) = SManga.create().apply {
|
||||||
setUrlWithoutDomain(element.absUrl("href"))
|
setUrlWithoutDomain(element.absUrl("href"))
|
||||||
|
|
Loading…
Reference in New Issue