Mangakakalot description parsing (#1893)

Mangakakalot description parsing
This commit is contained in:
Guiorgy 2019-12-23 08:08:32 +04:00 committed by arkon
parent 6ffde87149
commit 45ca32d510
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ abstract class MangaBox (
infoElement.select("td:containsOwn(genres) + td a").joinToString { it.text() }
}
}
description = document.select(descriptionSelector)?.first()?.ownText()
description = document.select(descriptionSelector)?.first()?.ownText()?.replace("\\<br\\>", "\n")?.replace("\\<.*?\\>", "")?.replace("^$title summary\\:", "")
thumbnail_url = document.select(thumbnailSelector).attr("abs:src")
}
}