From 94eb7f2b16e74cac0c60f8c3921a0e316a76d63b Mon Sep 17 00:00:00 2001 From: happywillow0 <45346080+happywillow0@users.noreply.github.com> Date: Thu, 25 Aug 2022 22:21:32 -0400 Subject: [PATCH] Fix EarlyManga (#13197) Fixes 13189 * Uses different selector for manga title in search. OP found the one manga without a flag. --- src/en/earlymanga/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/earlymanga/EarlyManga.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/earlymanga/build.gradle b/src/en/earlymanga/build.gradle index d3624b506..66db8d544 100644 --- a/src/en/earlymanga/build.gradle +++ b/src/en/earlymanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'EarlyManga' pkgNameSuffix = 'en.earlymanga' extClass = '.EarlyManga' - extVersionCode = 18 + extVersionCode = 19 } apply from: "$rootDir/common.gradle" diff --git a/src/en/earlymanga/src/eu/kanade/tachiyomi/extension/en/earlymanga/EarlyManga.kt b/src/en/earlymanga/src/eu/kanade/tachiyomi/extension/en/earlymanga/EarlyManga.kt index 9ba73a12c..cd0f480c0 100644 --- a/src/en/earlymanga/src/eu/kanade/tachiyomi/extension/en/earlymanga/EarlyManga.kt +++ b/src/en/earlymanga/src/eu/kanade/tachiyomi/extension/en/earlymanga/EarlyManga.kt @@ -82,7 +82,7 @@ class EarlyManga : ParsedHttpSource() { override fun searchMangaFromElement(element: Element): SManga { val manga = SManga.create() manga.url = element.select("a").attr("abs:href").substringAfter(baseUrl) - manga.title = element.select("div:has(.flag)+a").attr("title") + manga.title = element.select("a.manga_title").attr("title") manga.thumbnail_url = element.select("a img").attr("abs:src") return manga }