MCReader: Fix manga description (#13126)

This commit is contained in:
Davide 2022-08-22 17:30:58 +02:00 committed by GitHub
parent 04505aecbd
commit 5e844c5aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'mcreader.net'
pkgNameSuffix = 'en.mangarawclub'
extClass = '.MangaRawClub'
extVersionCode = 14
extVersionCode = 15
isNsfw = true
}

View File

@ -72,7 +72,7 @@ class MangaRawClub : ParsedHttpSource() {
manga.author = author
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() ?: ""
if (otherTitle.isNotEmpty() && otherTitle.lowercase(Locale.ROOT) != "updating")