From b3b22a985447cfc175e395b2982a20c21c4bf75b Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 9 Dec 2017 10:08:28 -0500 Subject: [PATCH] MangaHere update (#141) * updated to match internal source * updated version code * switched extVersion back, reverted libVersion * updated to latest LibVersion * fixed suffix since only need to increment by 1 --- src/en/mangahere/build.gradle | 4 ++-- .../eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/en/mangahere/build.gradle b/src/en/mangahere/build.gradle index c69e7bc03..4f71935e4 100644 --- a/src/en/mangahere/build.gradle +++ b/src/en/mangahere/build.gradle @@ -5,8 +5,8 @@ ext { appName = 'Tachiyomi: Mangahere' pkgNameSuffix = "en.mangahere" extClass = '.Mangahere' - extVersionCode = 3 - extVersionSuffix = 1 + extVersionCode = 4 + extVersionSuffix = 2 libVersion = '1.2' } diff --git a/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt b/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt index abfb0ca24..eca0c775f 100644 --- a/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt +++ b/src/en/mangahere/src/eu/kanade/tachiyomi/extension/en/mangahere/Mangahere.kt @@ -111,8 +111,8 @@ class Mangahere : ParsedHttpSource() { val infoElement = detailElement.select(".detail_topText").first() val manga = SManga.create() - manga.author = infoElement.select("a[href^=http://www.mangahere.co/author/]").first()?.text() - manga.artist = infoElement.select("a[href^=http://www.mangahere.co/artist/]").first()?.text() + manga.author = infoElement.select("a[href^=//www.mangahere.co/author/]").first()?.text() + manga.artist = infoElement.select("a[href^=//www.mangahere.co/artist/]").first()?.text() manga.genre = infoElement.select("li:eq(3)").first()?.text()?.substringAfter("Genre(s):") manga.description = infoElement.select("#show").first()?.text()?.substringBeforeLast("Show less") manga.status = infoElement.select("li:eq(6)").first()?.text().orEmpty().let { parseStatus(it) }