From c8e113a5246185c0b1140d8d5ceaa4026b0862e5 Mon Sep 17 00:00:00 2001 From: anenasa <84259093+anenasa@users.noreply.github.com> Date: Wed, 27 Nov 2024 22:42:15 +0800 Subject: [PATCH] Happymh: Fix page list (#6284) --- src/zh/happymh/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/zh/happymh/Happymh.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zh/happymh/build.gradle b/src/zh/happymh/build.gradle index 1d516856d..f1304ccc6 100644 --- a/src/zh/happymh/build.gradle +++ b/src/zh/happymh/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Happymh' extClass = '.Happymh' - extVersionCode = 13 + extVersionCode = 14 } apply from: "$rootDir/common.gradle" diff --git a/src/zh/happymh/src/eu/kanade/tachiyomi/extension/zh/happymh/Happymh.kt b/src/zh/happymh/src/eu/kanade/tachiyomi/extension/zh/happymh/Happymh.kt index e5a363f53..2ead01550 100644 --- a/src/zh/happymh/src/eu/kanade/tachiyomi/extension/zh/happymh/Happymh.kt +++ b/src/zh/happymh/src/eu/kanade/tachiyomi/extension/zh/happymh/Happymh.kt @@ -170,7 +170,7 @@ class Happymh : HttpSource(), ConfigurableSource { } val comicId = chapter.url.substringAfter("/reads/").substringBefore("/") val chapterId = chapter.url.substringAfterLast("/") - val url = "$baseUrl/v2.0/apis/manga/read?code=$comicId&cid=$chapterId&v=v3.1302723" + val url = "$baseUrl/v2.0/apis/manga/reading?code=$comicId&cid=$chapterId&v=v3.1613134" // Some chapters return 403 without this header val header = headersBuilder() .add("X-Requested-With", "XMLHttpRequest")