Add missing author to BM. (#8683)

This commit is contained in:
Alessandro Jean 2021-08-21 14:28:31 -03:00 committed by GitHub
parent 60037bfe4d
commit e49ac1044e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'BR Mangás'
pkgNameSuffix = 'pt.brmangas'
extClass = '.BrMangas'
extVersionCode = 2
extVersionCode = 3
libVersion = '1.2'
containsNsfw = true
}

View File

@ -95,6 +95,7 @@ class BrMangas : ParsedHttpSource() {
val infoElement = document.select("div.serie-geral div.infoall").first()!!
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() }
description = document.select("div.manga_sinopse ~ p").text().trim()
thumbnail_url = infoElement.select("div.serie-capa img").first()!!.attr("src")