更新 'SrcAutoTmpl.js'

pull/1/head
src48597962 2 years ago
parent 695e268311
commit 0aa0f51041
  1. 4
      SrcAutoTmpl.js

@ -79,7 +79,7 @@ function autoerji(url,html){
} }
try{ try{
var pic = pdfh(html, obj.img).replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,''); var pic = pdfh(html, obj.img).replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,'');
if(!/^http/.test(pic)){ if(!/^http/.test(pic)&&pic){
pic = urldomian + pic; pic = urldomian + pic;
} }
if(pic&&!detail.pic){detail.pic = pic;} if(pic&&!detail.pic){detail.pic = pic;}
@ -159,7 +159,7 @@ function aierji(html,url,detail){
let arr = alist.map(it => { let arr = alist.map(it => {
return { return {
//html: it, //html: it,
text: pdfh(it, "a&&Text").replace(/new/g,''), text: pdfh(it, "a&&Text").replace(/new|新/g,''),
title: pdfh(it, "a&&title"), title: pdfh(it, "a&&title"),
href: pd(it, "a&&href", url) href: pd(it, "a&&href", url)
} }

Loading…
Cancel
Save