From 48b010107563f95c42c7f972c48018355fd735ab Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Fri, 9 Aug 2024 10:32:09 +0500 Subject: [PATCH] ManhwaIndo: update domain & deduplicate images (#4513) --- src/id/manhwaindo/build.gradle | 4 ++-- .../tachiyomi/extension/id/manhwaindo/ManhwaIndo.kt | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/id/manhwaindo/build.gradle b/src/id/manhwaindo/build.gradle index be0b105fe..3c60882ec 100644 --- a/src/id/manhwaindo/build.gradle +++ b/src/id/manhwaindo/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'ManhwaIndo' extClass = '.ManhwaIndo' themePkg = 'mangathemesia' - baseUrl = 'https://manhwaindo.id' - overrideVersionCode = 4 + baseUrl = 'https://manhwaindo.net' + overrideVersionCode = 5 isNsfw = true } diff --git a/src/id/manhwaindo/src/eu/kanade/tachiyomi/extension/id/manhwaindo/ManhwaIndo.kt b/src/id/manhwaindo/src/eu/kanade/tachiyomi/extension/id/manhwaindo/ManhwaIndo.kt index e70fba3bd..f8e6ff511 100644 --- a/src/id/manhwaindo/src/eu/kanade/tachiyomi/extension/id/manhwaindo/ManhwaIndo.kt +++ b/src/id/manhwaindo/src/eu/kanade/tachiyomi/extension/id/manhwaindo/ManhwaIndo.kt @@ -1,17 +1,21 @@ package eu.kanade.tachiyomi.extension.id.manhwaindo import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia +import okhttp3.Response import java.text.SimpleDateFormat import java.util.Locale class ManhwaIndo : MangaThemesia( "Manhwa Indo", - "https://manhwaindo.id", + "https://manhwaindo.net", "id", "/series", SimpleDateFormat("MMMM dd, yyyy", Locale.US), ) { - override val seriesTitleSelector = ".ts-breadcrumb li:last-child span" - override val hasProjectPage = true + + override fun pageListParse(response: Response) = + super.pageListParse(response).distinctBy { + it.imageUrl!! + } }