From f3f7aa9e1d87e1d401f0c2bb7deb28305ec3e9e4 Mon Sep 17 00:00:00 2001 From: len Date: Fri, 25 Aug 2017 23:30:18 +0200 Subject: [PATCH] Also fix Batoto popular query --- .../java/eu/kanade/tachiyomi/source/online/english/Batoto.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Batoto.kt b/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Batoto.kt index 307fe55a2d..468663c382 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Batoto.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Batoto.kt @@ -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() }