更新 'SrcJyCustomJk.js'

pull/1/head
src48597962 2 years ago
parent c9468365c4
commit 0b58279dcb
  1. 8
      SrcJyCustomJk.js

@ -46,21 +46,20 @@ let customparse = {
let sitename = pdfh(it, "a&&li,1&&Text");
let vodname = pdfh(it, "a&&li,0&&Text");
let vodurl = pdfh(it, "a&&href");
log(vodurl);
/*
lists.push({name:vodname,pic:dogpic,url:vodurl,site:sitename})
*/
log(lists.length);
//log(it)
})
}
})
log(lists);
} catch (e) {
log(e.message);
var lists = [];
}
log(lists.length);
let list = [];
let task = function(obj) {
try{
let trueurl = request(obj.url, {redirect: false, withHeaders: true});
let vodurl = JSON.parse(trueurl).headers.location[0];
list.push({
@ -69,6 +68,7 @@ let customparse = {
voddesc: obj.site,
vodurl: vodurl
})
}catch(e){}
return 1;
}
let doglist = lists.map((item)=>{

Loading…
Cancel
Save