mirror of
https://github.com/venera-app/venera-configs.git
synced 2025-09-27 08:27:24 +00:00
fix #34
This commit is contained in:
8
baozi.js
8
baozi.js
@@ -5,7 +5,7 @@ class Baozi extends ComicSource {
|
|||||||
// 唯一标识符
|
// 唯一标识符
|
||||||
key = "baozi"
|
key = "baozi"
|
||||||
|
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
|
|
||||||
minAppVersion = "1.0.0"
|
minAppVersion = "1.0.0"
|
||||||
|
|
||||||
@@ -43,10 +43,8 @@ class Baozi extends ComicSource {
|
|||||||
registerWebsite: `https://cn.baozimh.com/user/signup`
|
registerWebsite: `https://cn.baozimh.com/user/signup`
|
||||||
}
|
}
|
||||||
|
|
||||||
lang = 'cn'
|
|
||||||
|
|
||||||
get baseUrl(){
|
get baseUrl(){
|
||||||
return `https://${this.lang}.baozimh.com`
|
return `https://www.baozimh.com`
|
||||||
}
|
}
|
||||||
|
|
||||||
parseComic(e) {
|
parseComic(e) {
|
||||||
@@ -302,7 +300,7 @@ class Baozi extends ComicSource {
|
|||||||
},
|
},
|
||||||
// 获取章节图片
|
// 获取章节图片
|
||||||
loadEp: async (comicId, epId) => {
|
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) {
|
if (res.status !== 200) {
|
||||||
throw "Invalid status code: " + res.status
|
throw "Invalid status code: " + res.status
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
"name": "包子漫画",
|
"name": "包子漫画",
|
||||||
"fileName": "baozi.js",
|
"fileName": "baozi.js",
|
||||||
"key": "baozi",
|
"key": "baozi",
|
||||||
"version": "1.0.1"
|
"version": "1.0.2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Picacg",
|
"name": "Picacg",
|
||||||
|
Reference in New Issue
Block a user