From 43355970db1e08d4bc48670387ed51ada67cd8ec Mon Sep 17 00:00:00 2001 From: len Date: Fri, 25 Aug 2017 23:10:31 +0200 Subject: [PATCH] Batoto fix. #953 --- .../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 ef7cd2f4c..307fe55a2 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 @@ -189,7 +189,7 @@ class Batoto : ParsedHttpSource(), LoginSource { override fun chapterListSelector() = "tr.row.lang_English.chapter_row" override fun chapterFromElement(element: Element): SChapter { - val urlElement = element.select("a[href^=$baseUrl/reader").first() + val urlElement = element.select("a[href*=bato.to/reader").first() val chapter = SChapter.create() chapter.setUrlWithoutDomain(urlElement.attr("href"))