更新 'SrcAutoTmpl.js'

pull/1/head
src48597962 2 years ago
parent 9cbe40227d
commit 28b4b9615b
  1. 3
      SrcAutoTmpl.js

@ -58,8 +58,7 @@ function autoerji(url){
if(arts.length>0&&conts.length>0&&conts[0]){
let details1 = pdfh(html, t.desc.split(';')[0]);
let details2 = t.desc.indexOf(';')>-1?pdfh(html, t.desc.split(';')[1]):"";
let pic = pdfh(html,t.img);
//pic = pic?pic.replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,''):"";
let pic = pdfh(html,t.img).replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,'');
let desc = pdfh(html,t.content);
data = {details1:details1,details2:details2,pic:pic,desc:desc,arts:arts,conts:conts};
putMyVar('Tmpl-'+urldomian,JSON.stringify(tmpllist[i]));

Loading…
Cancel
Save