Also fix Batoto popular query

This commit is contained in:
len 2017-08-25 23:30:18 +02:00
parent 43355970db
commit f3f7aa9e1d

View File

@ -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()
}