mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-25 06:11:04 +03:00
Also fix Batoto popular query
This commit is contained in:
parent
43355970db
commit
f3f7aa9e1d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class Batoto : ParsedHttpSource(), LoginSource {
|
||||||
|
|
||||||
override fun popularMangaFromElement(element: Element): SManga {
|
override fun popularMangaFromElement(element: Element): SManga {
|
||||||
val manga = SManga.create()
|
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.setUrlWithoutDomain(it.attr("href"))
|
||||||
manga.title = it.text().trim()
|
manga.title = it.text().trim()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue