Remove of redundant text in title "MangaDetailsParsed" (#15069)
This commit is contained in:
parent
8ae6bdca68
commit
1754456d2e
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'HentaiVN'
|
||||
pkgNameSuffix = 'vi.hentaivn'
|
||||
extClass = '.HentaiVN'
|
||||
extVersionCode = 20
|
||||
extVersionCode = 21
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ class HentaiVN : ParsedHttpSource() {
|
|||
override fun mangaDetailsParse(document: Document): SManga {
|
||||
val infoElement = document.select(".main > .page-left > .left-info > .page-info")
|
||||
val manga = SManga.create()
|
||||
manga.title = infoElement.select("h1[itemprop=name] a").text()
|
||||
manga.title = document.selectFirst(".breadcrumb2 li:last-child span").text()
|
||||
manga.author = infoElement.select("p:contains(Tác giả:) a").text()
|
||||
manga.description = infoElement.select(":root > p:contains(Nội dung:) + p").text()
|
||||
manga.genre = infoElement.select("p:contains(Thể loại:) a").joinToString { it.text() }
|
||||
|
|
Loading…
Reference in New Issue