From e49ac1044e6e32171169e9fd115202cfcc339304 Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Sat, 21 Aug 2021 14:28:31 -0300 Subject: [PATCH] Add missing author to BM. (#8683) --- src/pt/brmangas/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/pt/brmangas/BrMangas.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pt/brmangas/build.gradle b/src/pt/brmangas/build.gradle index 6c84cee77..ec9f78e10 100644 --- a/src/pt/brmangas/build.gradle +++ b/src/pt/brmangas/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'BR Mangás' pkgNameSuffix = 'pt.brmangas' extClass = '.BrMangas' - extVersionCode = 2 + extVersionCode = 3 libVersion = '1.2' containsNsfw = true } diff --git a/src/pt/brmangas/src/eu/kanade/tachiyomi/extension/pt/brmangas/BrMangas.kt b/src/pt/brmangas/src/eu/kanade/tachiyomi/extension/pt/brmangas/BrMangas.kt index 394322986..55b5ca8e0 100644 --- a/src/pt/brmangas/src/eu/kanade/tachiyomi/extension/pt/brmangas/BrMangas.kt +++ b/src/pt/brmangas/src/eu/kanade/tachiyomi/extension/pt/brmangas/BrMangas.kt @@ -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")