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