jm: skip parsing type library (#32)

* jm: skip parsing type library

* jm: bump to 1.0.1

* jm: update domains
This commit is contained in:
Pacalini
2024-12-26 18:40:25 +08:00
committed by GitHub
parent 96cc170db7
commit 55bb0b4e59
2 changed files with 8 additions and 5 deletions

View File

@@ -51,6 +51,6 @@
"name": "禁漫天堂",
"fileName": "jm.js",
"key": "jm",
"version": "1.0.0"
"version": "1.0.1"
}
]

11
jm.js
View File

@@ -7,7 +7,7 @@ class JM extends ComicSource {
// unique id of the source
key = "jm"
version = "1.0.0"
version = "1.0.1"
minAppVersion = "1.0.2"
@@ -16,8 +16,8 @@ class JM extends ComicSource {
static apiDomains = [
"https://www.jmapiproxyxxx.vip",
"https://www.cdnblackmyth.vip",
"https://www.cdnblackmyth.xyz",
"https://www.cdnblackmyth.club",
"https://www.cdnmhws.cc",
"https://www.cdnxxx-proxy.co"
];
@@ -170,6 +170,9 @@ class JM extends ComicSource {
if (type === 'category_id') {
id = e.slug
}
if (type === 'library') {
continue
}
let comics = e.content.map((e) => this.parseComic(e))
result.push({
title: e.title,
@@ -625,4 +628,4 @@ class JM extends ComicSource {
'Image Stream': '圖片分流',
},
}
}
}