From dcdc43b984ed574f0be2e8d77b73f7197783c1dd Mon Sep 17 00:00:00 2001 From: zhongfly Date: Thu, 24 Jun 2021 21:00:33 +0800 Subject: [PATCH] [zh-dmzj]use muwai.com instead of dmzj.com (#7830) * [zh-dmzj]use muwai.com instead of dmzj.com use muwai.com for v4apiUrl & v3ChapterApiUrl & imageCDNUrl * bump version --- src/zh/dmzj/build.gradle | 2 +- .../dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/Dmzj.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/zh/dmzj/build.gradle b/src/zh/dmzj/build.gradle index a75be248e..243f66888 100644 --- a/src/zh/dmzj/build.gradle +++ b/src/zh/dmzj/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'Dmzj' pkgNameSuffix = 'zh.dmzj' extClass = '.Dmzj' - extVersionCode = 21 + extVersionCode = 22 libVersion = '1.2' } diff --git a/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/Dmzj.kt b/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/Dmzj.kt index 8562add66..e45c71f08 100644 --- a/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/Dmzj.kt +++ b/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/Dmzj.kt @@ -46,13 +46,13 @@ class Dmzj : ConfigurableSource, HttpSource() { override val name = "动漫之家" override val baseUrl = "https://m.dmzj.com" private val v3apiUrl = "https://v3api.dmzj.com" - private val v3ChapterApiUrl = "https://nnv3api.dmzj.com" + private val v3ChapterApiUrl = "https://nnv3api.muwai.com" // v3api now shutdown the functionality to fetch manga detail and chapter list, so move these logic to v4api - private val v4apiUrl = "https://nnv4api.dmzj1.com" // https://v4api.dmzj1.com + private val v4apiUrl = "https://nnv4api.muwai.com" // https://v4api.dmzj1.com private val apiUrl = "https://api.dmzj.com" private val oldPageListApiUrl = "https://api.m.dmzj.com" private val webviewPageListApiUrl = "https://m.dmzj.com/chapinfo" - private val imageCDNUrl = "https://images.dmzj.com" + private val imageCDNUrl = "https://images.muwai.com" private fun cleanUrl(url: String) = if (url.startsWith("//")) "https:$url"