This commit is contained in:
kodjomoustapha
2023-12-20 18:17:40 +01:00
parent 2f9703a850
commit 787ef77a7e
9 changed files with 71 additions and 159 deletions

View File

@@ -145,12 +145,11 @@ class MangaReader extends MProvider {
.replaceAll("[Add, ]", "");
}
final description = querySelectorAll(res,
selector: ".desc, .entry-content[itemprop=description]",
typeElement: 0,
attributes: "",
typeRegExp: 0);
if (description.isNotEmpty) {
final description = parseHtml(res)
.selectFirst(".desc, .entry-content[itemprop=description]")
?.text;
if (description != null) {
manga.description = description.first;
}