mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-17 22:47:29 +01:00
Fix exception thrown when Batoto search is empty
This commit is contained in:
@@ -73,7 +73,7 @@ class Batoto(context: Context, override val id: Int) : ParsedOnlineSource(contex
|
||||
}
|
||||
}
|
||||
|
||||
override fun popularMangaSelector() = "tr:not([id]):not([class])"
|
||||
override fun popularMangaSelector() = "tr:has(a)"
|
||||
|
||||
override fun popularMangaFromElement(element: Element, manga: Manga) {
|
||||
element.select("a[href^=http://bato.to]").first().let {
|
||||
|
||||
Reference in New Issue
Block a user