Fix MangaHub (multisrc) Chapter List Selector (#8361)

Updated selector
This commit is contained in:
Jake 2025-04-05 13:19:49 +08:00 committed by Draff
parent 3fb869e5e2
commit 68c6a5a6af
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ plugins {
id("lib-multisrc")
}
baseVersionCode = 30
baseVersionCode = 31
dependencies {
api(project(":lib:randomua"))

View File

@ -276,7 +276,7 @@ abstract class MangaHub(
private fun chapterFromElement(element: Element, head: Element): SChapter {
val chapter = SChapter.create()
val potentialLinks = element.select("a[href*='$baseUrl/chapter/']:not([rel*=nofollow]):not([rel*=noreferrer])")
val potentialLinks = element.select("a[href*='$baseUrl/chapter/']")
var visibleLink = ""
potentialLinks.forEach { a ->
val className = a.className()