HentaiMode: update browse selector (#2181)

This commit is contained in:
Vetle Ledaal 2024-03-30 12:59:02 +00:00 committed by Draff
parent 2a2d4ed46d
commit 96a3e3c8e4
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'HentaiMode'
extClass = '.HentaiMode'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

View File

@ -35,7 +35,7 @@ class HentaiMode : ParsedHttpSource() {
// ============================== Popular ===============================
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 {
setUrlWithoutDomain(element.absUrl("href"))