From 3f227a7229c9ff9dea9645d04128ae15b5f97194 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 17 Nov 2022 21:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcAutoTmpl.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcAutoTmpl.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SrcAutoTmpl.js b/SrcAutoTmpl.js index 2967c643..4d5cc234 100644 --- a/SrcAutoTmpl.js +++ b/SrcAutoTmpl.js @@ -486,7 +486,10 @@ function aierji(html,url,detail){ let t1 = parseInt(clearText(it.title)); let next = d[i + 1]; let t2 = parseInt(clearText(next.title)); + log(t1) + log(t2) if (t2 - t1 > 1 || t1 - t2 > 1) { + log('>1') conts.push(d2.join('#')); if (i < d.length - 2) { let s = arts.length+1; @@ -496,6 +499,7 @@ function aierji(html,url,detail){ } } } + if(conts.length==0){arts = [];} data = {details1:detail.details1||"",details2:detail.details2||"选集列表来源于AI识片技术",pic:detail.pic||"",desc:detail.desc||"暂无信息",arts:arts,conts:conts}; return data; }