From fcd059ad0580fde30ac746e355833a1b92890b47 Mon Sep 17 00:00:00 2001 From: nyne Date: Sun, 12 Jan 2025 19:45:27 +0800 Subject: [PATCH] fix #34 --- baozi.js | 8 +++----- index.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/baozi.js b/baozi.js index 2f3d8b3..e5f2611 100644 --- a/baozi.js +++ b/baozi.js @@ -5,7 +5,7 @@ class Baozi extends ComicSource { // 唯一标识符 key = "baozi" - version = "1.0.1" + version = "1.0.2" minAppVersion = "1.0.0" @@ -43,10 +43,8 @@ class Baozi extends ComicSource { registerWebsite: `https://cn.baozimh.com/user/signup` } - lang = 'cn' - get baseUrl(){ - return `https://${this.lang}.baozimh.com` + return `https://www.baozimh.com` } parseComic(e) { @@ -302,7 +300,7 @@ class Baozi extends ComicSource { }, // 获取章节图片 loadEp: async (comicId, epId) => { - let res = await Network.get(`https://${this.lang}.czmanga.com/comic/chapter/${comicId}/0_${epId}.html`) + let res = await Network.get(`https://www.czmanga.com/comic/chapter/${comicId}/0_${epId}.html`) if (res.status !== 200) { throw "Invalid status code: " + res.status } diff --git a/index.json b/index.json index 3b0d46b..42b54ff 100644 --- a/index.json +++ b/index.json @@ -21,7 +21,7 @@ "name": "包子漫画", "fileName": "baozi.js", "key": "baozi", - "version": "1.0.1" + "version": "1.0.2" }, { "name": "Picacg",