mangaowl: exclude owl's tag (#7792)

* Update MangaOwl.kt

* Update build.gradle
This commit is contained in:
CVIUS 2021-06-21 22:13:58 +08:00 committed by GitHub
parent 54f6d6f80c
commit 8b4eb2b7ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaOwl'
pkgNameSuffix = 'en.mangaowl'
extClass = '.MangaOwl'
extVersionCode = 10
extVersionCode = 11
libVersion = '1.2'
}

View File

@ -86,7 +86,7 @@ class MangaOwl : ParsedHttpSource() {
author = infoElement.select("p.fexi_header_para a.author_link").text()
artist = author
status = parseStatus(infoElement.select("p.fexi_header_para:contains(status)").first().ownText())
genre = infoElement.select("a.label").mapNotNull{ it.text() }.joinToString(", ")
genre = infoElement.select(".single_detail:not(owls-tag) a.label").mapNotNull{ it.text() }.joinToString(", ")
description = infoElement.select(".description").first().ownText()
thumbnail_url = infoElement.select("img").first()?.let { img ->
if (img.hasAttr("data-src")) img.attr("abs:data-src") else img.attr("abs:src")