From be5d4d313accfef26f64600bd1088123dbd8ad4a Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Thu, 5 Nov 2020 23:30:58 +0700 Subject: [PATCH] Mangahub fix search issue (#4801) only shows result one result (first manga) from each site page --- src/en/mangahub/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/en/mangahub/Mangahub.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/mangahub/build.gradle b/src/en/mangahub/build.gradle index e1457ec6c..1bed04b7e 100644 --- a/src/en/mangahub/build.gradle +++ b/src/en/mangahub/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Mangahub' pkgNameSuffix = 'en.mangahub' extClass = '.Mangahub' - extVersionCode = 6 + extVersionCode = 7 libVersion = '1.2' } diff --git a/src/en/mangahub/src/eu/kanade/tachiyomi/extension/en/mangahub/Mangahub.kt b/src/en/mangahub/src/eu/kanade/tachiyomi/extension/en/mangahub/Mangahub.kt index 3c2dac875..8c2fe7591 100644 --- a/src/en/mangahub/src/eu/kanade/tachiyomi/extension/en/mangahub/Mangahub.kt +++ b/src/en/mangahub/src/eu/kanade/tachiyomi/extension/en/mangahub/Mangahub.kt @@ -186,7 +186,7 @@ class Mangahub : ParsedHttpSource() { return GET(url.toString(), headers) } - override fun searchMangaSelector() = "div#mangalist" + override fun searchMangaSelector() = "div#mangalist div.media-manga.media" override fun searchMangaFromElement(element: Element): SManga { return popularMangaFromElement(element)