From c34ef006518f91c73512a631040f36137efec731 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 2 Apr 2023 09:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'jiekou/shenmanhua.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jiekou/shenmanhua.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/jiekou/shenmanhua.js b/jiekou/shenmanhua.js index 56b2b94d..81e66e3c 100644 --- a/jiekou/shenmanhua.js +++ b/jiekou/shenmanhua.js @@ -65,17 +65,17 @@ let erdata = { }); return d; }, + "前提": `let id = pdfh(html, "#COMMENT&&data-ssid");`,//这里写后面加载需要的前提需要的数据,也可以留空 "详情": { - "作者": `pdfh(html, '#detail&&.author&&Text')`, - "分类": `pdfa(html, '#detail&&.type').map(data => pdfh(data, 'Text')).join(" ")`, - "简介": `pdfh(html, '#js_desc_content&&Text')`, - "选集": `pdfa(html, '#js_chapters&&li').map((data) => { - let id = pdfh(html, "#COMMENT&&data-ssid"); - let 选集列表 = {}; - 选集列表.title = pdfh(data, 'Text') - 选集列表.url = MY_HOME + "getchapterinfov2?product_id=1&productname=kmh&platformname=wap&isWebp=1&quality=high&comic_id="+id+"&chapter_newid="+pdfh(data, 'a&&href').replace('.html', '').split('/')[2]; - return 选集列表; - })` + "标题1": `作者$$$pdfh(html, '#detail&&.author&&Text')`,//用$$$间隔需要取值的标题和内容 + "标题2": `分类$$$pdfa(html, '#detail&&.type').map(data => pdfh(data, 'Text')).join(" ")`, + "描述": `简介$$$pdfh(html, '#js_desc_content&&Text')`, }, + "选集": `pdfa(html, '#js_chapters&&li').map((data) => { + let 选集列表 = {}; + 选集列表.title = pdfh(data, 'Text') + 选集列表.url = MY_HOME + "getchapterinfov2?product_id=1&productname=kmh&platformname=wap&isWebp=1&quality=high&comic_id="+id+"&chapter_newid="+pdfh(data, 'a&&href').replace('.html', '').split('/')[2]; + return 选集列表; + })`, "解析": "" } \ No newline at end of file