[FMReader] Comma-separate author list (#7953)
This commit is contained in:
parent
1882705bd4
commit
a5f618c16a
|
@ -159,9 +159,9 @@ abstract class FMReader(
|
||||||
val infoElement = document.select("div.row").first()
|
val infoElement = document.select("div.row").first()
|
||||||
|
|
||||||
return SManga.create().apply {
|
return SManga.create().apply {
|
||||||
infoElement.select("li a.btn-info").text().let {
|
author = infoElement.select("li a.btn-info").eachText().filter {
|
||||||
if (it.contains("Updating", true).not()) author = it
|
it.equals("Updating", true).not()
|
||||||
}
|
}.joinToString().takeIf { it.isNotBlank() }
|
||||||
genre = infoElement.select("li a.btn-danger").joinToString { it.text() }
|
genre = infoElement.select("li a.btn-danger").joinToString { it.text() }
|
||||||
status = parseStatus(infoElement.select("li a.btn-success").first()?.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()
|
description = document.select("div.detail .content, div.row ~ div.row:has(h3:first-child) p, .summary-content p").text().trim()
|
||||||
|
|
|
@ -10,7 +10,7 @@ class FMReaderGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "FMReader"
|
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
|
/** For future sources: when testing and popularMangaRequest() returns a Jsoup error instead of results
|
||||||
* most likely the fix is to override popularMangaNextPageSelector() */
|
* most likely the fix is to override popularMangaNextPageSelector() */
|
||||||
|
|
Loading…
Reference in New Issue