From 04b78ae19960b550da4c2aa521a44c8c08b5cb21 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Thu, 26 Nov 2020 22:28:14 +0700 Subject: [PATCH] MangaOwl update (#4957) MangaOwl update --- src/en/mangaowl/build.gradle | 2 +- .../kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/en/mangaowl/build.gradle b/src/en/mangaowl/build.gradle index 48671bb3f..62b978127 100644 --- a/src/en/mangaowl/build.gradle +++ b/src/en/mangaowl/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MangaOwl' pkgNameSuffix = 'en.mangaowl' extClass = '.MangaOwl' - extVersionCode = 7 + extVersionCode = 8 libVersion = '1.2' } diff --git a/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt b/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt index c52a2c3a8..2a09cd10c 100644 --- a/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt +++ b/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt @@ -19,7 +19,7 @@ class MangaOwl : ParsedHttpSource() { override val name = "MangaOwl" - override val baseUrl = "https://mangaowl.com" + override val baseUrl = "https://mangaowls.com" override val lang = "en" @@ -83,11 +83,11 @@ class MangaOwl : ParsedHttpSource() { return SManga.create().apply { title = infoElement.select("h2").first().ownText() - author = infoElement.select("p:contains(author) a").text() + author = infoElement.select("p.fexi_header_para a.author_link").text() artist = author - status = parseStatus(infoElement.select("p:contains(pub. status)").first().ownText()) - genre = infoElement.select("a.label").mapNotNull { it.text() }.joinToString(", ") - description = infoElement.select("div.single-right-grids.description").first().ownText() + status = parseStatus(infoElement.select("p.fexi_header_para:contains(status)").first().ownText()) + genre = infoElement.select(".owl-tags a").joinToString { it.text() } + 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") }