diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReader.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReader.kt index c28bf48cd..0a993d9da 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReader.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReader.kt @@ -159,9 +159,9 @@ abstract class FMReader( val infoElement = document.select("div.row").first() return SManga.create().apply { - infoElement.select("li a.btn-info").text().let { - if (it.contains("Updating", true).not()) author = it - } + author = infoElement.select("li a.btn-info").eachText().filter { + it.equals("Updating", true).not() + }.joinToString().takeIf { it.isNotBlank() } genre = infoElement.select("li a.btn-danger").joinToString { it.text() } status = parseStatus(infoElement.select("li a.btn-success").first()?.text()) description = document.select("div.detail .content, div.row ~ div.row:has(h3:first-child) p, .summary-content p").text().trim() diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt index 5f35662ae..7f32282d7 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/fmreader/FMReaderGenerator.kt @@ -10,7 +10,7 @@ class FMReaderGenerator : ThemeSourceGenerator { override val themeClass = "FMReader" - override val baseVersionCode: Int = 4 + override val baseVersionCode: Int = 5 /** For future sources: when testing and popularMangaRequest() returns a Jsoup error instead of results * most likely the fix is to override popularMangaNextPageSelector() */