From a22282564aecb112b7c45d43473d3bd7b989621c Mon Sep 17 00:00:00 2001 From: bapeey <90949336+bapeey@users.noreply.github.com> Date: Fri, 21 Jun 2024 03:42:43 -0500 Subject: [PATCH] DarkScans: Update domain (#3662) * Update domain * why AS breaks my adb --- src/en/darkscans/build.gradle | 4 ++-- .../kanade/tachiyomi/extension/en/darkscans/DarkScans.kt | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/en/darkscans/build.gradle b/src/en/darkscans/build.gradle index 3443b1a94..94d3a0485 100644 --- a/src/en/darkscans/build.gradle +++ b/src/en/darkscans/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'Dark Scans' extClass = '.DarkScans' themePkg = 'madara' - baseUrl = 'https://darkscans.com' - overrideVersionCode = 1 + baseUrl = 'https://darkscans.net' + overrideVersionCode = 2 } apply from: "$rootDir/common.gradle" diff --git a/src/en/darkscans/src/eu/kanade/tachiyomi/extension/en/darkscans/DarkScans.kt b/src/en/darkscans/src/eu/kanade/tachiyomi/extension/en/darkscans/DarkScans.kt index 68470bd68..73e5f70e5 100644 --- a/src/en/darkscans/src/eu/kanade/tachiyomi/extension/en/darkscans/DarkScans.kt +++ b/src/en/darkscans/src/eu/kanade/tachiyomi/extension/en/darkscans/DarkScans.kt @@ -4,13 +4,16 @@ import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.network.interceptor.rateLimit import okhttp3.OkHttpClient -class DarkScans : Madara("Dark Scans", "https://darkscans.com", "en") { +class DarkScans : Madara("Dark Scans", "https://darkscans.net", "en") { override val client: OkHttpClient = super.client.newBuilder() .rateLimit(20, 4) .build() - override val mangaSubString = "all-series" + override val mangaSubString = "mangas" + + override val useLoadMoreRequest = LoadMoreStrategy.Always + override val useNewChapterEndpoint = true override val filterNonMangaItems = false }