Add missing author to BM. (#8683)
This commit is contained in:
parent
60037bfe4d
commit
e49ac1044e
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'BR Mangás'
|
extName = 'BR Mangás'
|
||||||
pkgNameSuffix = 'pt.brmangas'
|
pkgNameSuffix = 'pt.brmangas'
|
||||||
extClass = '.BrMangas'
|
extClass = '.BrMangas'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,6 +95,7 @@ class BrMangas : ParsedHttpSource() {
|
||||||
val infoElement = document.select("div.serie-geral div.infoall").first()!!
|
val infoElement = document.select("div.serie-geral div.infoall").first()!!
|
||||||
|
|
||||||
title = document.select("title").first().text().substringBeforeLast(" - ")
|
title = document.select("title").first().text().substringBeforeLast(" - ")
|
||||||
|
author = infoElement.select("div.serie-infos li:contains(Autor)").firstOrNull()?.ownText()
|
||||||
genre = infoElement.select("a.category.tag").joinToString { it.text() }
|
genre = infoElement.select("a.category.tag").joinToString { it.text() }
|
||||||
description = document.select("div.manga_sinopse ~ p").text().trim()
|
description = document.select("div.manga_sinopse ~ p").text().trim()
|
||||||
thumbnail_url = infoElement.select("div.serie-capa img").first()!!.attr("src")
|
thumbnail_url = infoElement.select("div.serie-capa img").first()!!.attr("src")
|
||||||
|
|
Loading…
Reference in New Issue