From 27175b3dee4d60c6b691f4a7a32e00067eb756a6 Mon Sep 17 00:00:00 2001 From: AviKav Date: Sat, 3 Aug 2019 21:36:17 -0400 Subject: [PATCH] Fix MangaDex search/browse when user account has non-default view mode (#1363) --- src/all/mangadex/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index f24650238..31a505752 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: MangaDex' pkgNameSuffix = 'all.mangadex' extClass = '.MangadexFactory' - extVersionCode = 64 + extVersionCode = 65 libVersion = '1.2' } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt index 1e912e2ab..14e22a65f 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt @@ -93,7 +93,7 @@ open class Mangadex(override val lang: String, private val internalLang: String, "${URLEncoder.encode(it.key, "UTF-8")}=${URLEncoder.encode(it.value, "UTF-8")}" } - override fun popularMangaSelector() = "div.col-lg-6.border-bottom.pl-0.my-1" + override fun popularMangaSelector() = "div.manga-entry" override fun latestUpdatesSelector() = "tr a.manga_title" @@ -304,7 +304,7 @@ open class Mangadex(override val lang: String, private val internalLang: String, return GET(urlToUse, headersBuilder().build()) } - override fun searchMangaSelector() = "div.col-lg-6.border-bottom.pl-0.my-1" + override fun searchMangaSelector() = "div.manga-entry" override fun searchMangaFromElement(element: Element): SManga { val manga = SManga.create()