From 0aeb725bc82d6a3d6285746e96aea314c54e8757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=92=E7=A0=82=E7=B3=96?= <90336521+lings03@users.noreply.github.com> Date: Sun, 16 Mar 2025 07:59:00 +0800 Subject: [PATCH] [copy_manga] Fix webAPI (#53) --- copy_manga.js | 6 +++--- index.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/copy_manga.js b/copy_manga.js index bd3ff0a..bfd0016 100644 --- a/copy_manga.js +++ b/copy_manga.js @@ -4,7 +4,7 @@ class CopyManga extends ComicSource { key = "copy_manga" - version = "1.1.2" + version = "1.1.3" minAppVersion = "1.2.1" @@ -12,7 +12,7 @@ class CopyManga extends ComicSource { headers = {} - static copyVersion = "2.2.5" + static copyVersion = "2.2.6" static apiUrl = "https://api.mangacopy.com" @@ -365,7 +365,7 @@ class CopyManga extends ComicSource { q_type = options[0]; } keyword = encodeURIComponent(keyword) - let search_url = this.loadSetting('search_api') === "webAPI" ? "https://www.copymanga.tv/api/kb/web/searchbc/comics" : `${CopyManga.apiUrl}/api/v3/search/comic` + let search_url = this.loadSetting('search_api') === "webAPI" ? "https://www.mangacopy.com/api/kb/web/searchbd/comics" : `${CopyManga.apiUrl}/api/v3/search/comic` res = await Network.get( `${search_url}?limit=21&offset=${(page - 1) * 21}&q=${keyword}&q_type=${q_type}&platform=3`, this.headers diff --git a/index.json b/index.json index da9bb9d..31da4ab 100644 --- a/index.json +++ b/index.json @@ -3,7 +3,7 @@ "name": "拷贝漫画", "fileName": "copy_manga.js", "key": "copy_manga", - "version": "1.1.2" + "version": "1.1.3" }, { "name": "Komiic",