From a71c805959fd9d8e074145ce0f01b29a88ee4735 Mon Sep 17 00:00:00 2001 From: Carlos Date: Mon, 5 Feb 2018 05:19:24 -0500 Subject: [PATCH] fix author/artist not showing in mangahere (#1228) --- .../eu/kanade/tachiyomi/source/online/english/Mangahere.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Mangahere.kt b/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Mangahere.kt index 82fda97dbf..a9ec1f083b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Mangahere.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/source/online/english/Mangahere.kt @@ -112,8 +112,8 @@ class Mangahere : ParsedHttpSource() { val licensedElement = document.select(".mt10.color_ff00.mb10").first() val manga = SManga.create() - 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.author = infoElement.select("a[href*=author/]").first()?.text() + manga.artist = infoElement.select("a[href*=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.thumbnail_url = detailElement.select("img.img").first()?.attr("src")