From 6cd0e6c9a789f54ee4a1d4194f0f490818ba14c3 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 24 Jul 2024 14:27:47 +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 | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/SrcAutoTmpl.js b/SrcAutoTmpl.js index 99f227f1..4f00ed50 100644 --- a/SrcAutoTmpl.js +++ b/SrcAutoTmpl.js @@ -23,9 +23,7 @@ function autoerji(url,html){ tabs.push(name); } }); - if(obj.id==35){ - log(tabs); - } + let conts = _pdfa(html,'body&&'+obj.lists.split(';')[0]);//全线路影片列表 let lists = []; let key = obj.lists.split(';')[1]; @@ -43,9 +41,6 @@ function autoerji(url,html){ lists.push(list); } }) - if(obj.id==35){ - log(lists); - } let details1,pic,desc; try{ let details = obj.desc.split(';'); @@ -55,9 +50,7 @@ function autoerji(url,html){ } if(details1&&!detail.details1){detail.details1 = details1;} }catch(e){} - if(obj.id==35){ - log(details1); - } + try{ pic = _pdfh(html, obj.img).replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,''); if(!/^http/.test(pic)&&pic){ @@ -69,6 +62,11 @@ function autoerji(url,html){ desc = obj.content?_pdfh(html,obj.content):""; if(desc&&!detail.desc){detail.desc = desc;} }catch(e){} + if(obj.id==35){ + log(obj.id); + log(tabs); + log(lists); + } return {details1:details1,pic:pic,desc:desc,tabs:tabs,lists:lists}; }; let setid = 0;