mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 03:09:19 +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 {
|
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 New Issue
Block a user