Mangabox: Fix Selectors (#10702)

This commit is contained in:
Jake 2025-09-23 00:27:59 +08:00 committed by Draff
parent 1905a3c8dc
commit af9e1adb51
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -2,4 +2,4 @@ plugins {
id("lib-multisrc")
}
baseVersionCode = 7
baseVersionCode = 8

View File

@ -155,7 +155,7 @@ abstract class MangaBox(
open val simpleQueryPath = "search/story/"
override fun popularMangaSelector() = "div.truyen-list > div.list-truyen-item-wrap"
override fun popularMangaSelector() = "div.truyen-list > div.list-truyen-item-wrap, div.comic-list > .list-comic-item-wrap"
override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/$popularUrlPath$page", headers)
@ -211,7 +211,7 @@ abstract class MangaBox(
}
}
override fun searchMangaSelector() = ".panel_story_list .story_item, div.list-truyen-item-wrap"
override fun searchMangaSelector() = ".panel_story_list .story_item, div.list-truyen-item-wrap, .list-comic-item-wrap .list-story-item"
override fun searchMangaFromElement(element: Element) = mangaFromElement(element)