fx mangahasu description (#5162)

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
This commit is contained in:
Riztard Lanthorn 2020-12-17 20:38:59 +07:00 committed by GitHub
parent 1f8a3d0865
commit ea23295be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Mangahasu'
pkgNameSuffix = 'en.mangahasu'
extClass = '.Mangahasu'
extVersionCode = 8
extVersionCode = 9
libVersion = '1.2'
}

View File

@ -106,8 +106,7 @@ class Mangahasu : ParsedHttpSource() {
manga.artist = infoElement.select(".info")[1].text()
manga.genre = infoElement.select(".info")[3].text()
manga.status = parseStatus(infoElement.select(".info")[4].text())
manga.description = document.select("div.content-info > div > p").first()?.text()
manga.description = document.select("div.content-info:has(h3:contains(summary)) div").first()?.text()
manga.thumbnail_url = document.select("div.info-img img").attr("src")
return manga
}