mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Also fix Batoto popular query
This commit is contained in:
parent
43355970db
commit
f3f7aa9e1d
@ -69,7 +69,7 @@ class Batoto : ParsedHttpSource(), LoginSource {
|
||||
|
||||
override fun popularMangaFromElement(element: Element): SManga {
|
||||
val manga = SManga.create()
|
||||
element.select("a[href^=$baseUrl]").first().let {
|
||||
element.select("a[href*=bato.to]").first().let {
|
||||
manga.setUrlWithoutDomain(it.attr("href"))
|
||||
manga.title = it.text().trim()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user