MCReader: Fix manga description (#13126)
This commit is contained in:
parent
04505aecbd
commit
5e844c5aef
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'mcreader.net'
|
extName = 'mcreader.net'
|
||||||
pkgNameSuffix = 'en.mangarawclub'
|
pkgNameSuffix = 'en.mangarawclub'
|
||||||
extClass = '.MangaRawClub'
|
extClass = '.MangaRawClub'
|
||||||
extVersionCode = 14
|
extVersionCode = 15
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ class MangaRawClub : ParsedHttpSource() {
|
||||||
manga.author = author
|
manga.author = author
|
||||||
|
|
||||||
var description = document.select(".description").first()?.text() ?: ""
|
var description = document.select(".description").first()?.text() ?: ""
|
||||||
description = description.substringAfter("»——").trim()
|
description = description.substringAfter("Summary is").trim()
|
||||||
|
|
||||||
val otherTitle = document.select(".alternative-title").first()?.text()?.trim() ?: ""
|
val otherTitle = document.select(".alternative-title").first()?.text()?.trim() ?: ""
|
||||||
if (otherTitle.isNotEmpty() && otherTitle.lowercase(Locale.ROOT) != "updating")
|
if (otherTitle.isNotEmpty() && otherTitle.lowercase(Locale.ROOT) != "updating")
|
||||||
|
|
Loading…
Reference in New Issue