From 465b6e05af7e1ffadc30e94d940abe5fbdfa70b0 Mon Sep 17 00:00:00 2001 From: loocool2 <36128021+loocool2@users.noreply.github.com> Date: Mon, 30 Aug 2021 05:04:16 -0700 Subject: [PATCH] Filtered comikey chapters (#8888) --- src/all/mangadex/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDex.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index a8b44ccc9..a07db024a 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'MangaDex' pkgNameSuffix = 'all.mangadex' extClass = '.MangaDexFactory' - extVersionCode = 129 + extVersionCode = 130 libVersion = '1.2' containsNsfw = true } 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 d57d56999..df28e6066 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 @@ -351,7 +351,8 @@ abstract class MangaDex(override val lang: String, val dexLang: String) : val now = Date().time return chapterListResults.map { helper.createChapter(it) } - .filter { it.date_upload <= now && "MangaPlus" != it.scanlator } + .filter { it.date_upload <= now && "MangaPlus" != it.scanlator + && "Comikey" != it.scanlator} } catch (e: Exception) { Log.e("MangaDex", "error parsing chapter list", e) throw(e)