You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
980 B
26 lines
980 B
let customparse = {
|
|
csp_custom_aicb: function (name) {
|
|
let list = [];
|
|
eval(getCryptoJS());
|
|
let token = CryptoJS.SHA1(name + "URBBRGROUN").toString();
|
|
try {
|
|
let html = request('https://api.cupfox.app/api/v2/search/?text=' + name + '&type=0&from=0&size=200&token=' + token);
|
|
var lists = JSON.parse(html).resources;
|
|
} catch (e) {
|
|
var lists = [];
|
|
}
|
|
lists.forEach(item => {
|
|
let vodname = item.text.replace(/<em>|<\/em>/g, '');
|
|
if (!/qq|mgtv|iptv|iqiyi|youku|bilibili|souhu|cctv|wybg666|bdys01|ylwt33/.test(item.url)&&vodname.indexOf(name)>-1) {
|
|
list.push({
|
|
vodname: vodname,
|
|
vodpic: "",
|
|
voddesc: item.website + (item.tags.length > 0 ? ' [' + item.tags.join(' ') + ']' : ''),
|
|
vodurl: item.url
|
|
})
|
|
}
|
|
});
|
|
return list;
|
|
}
|
|
}
|
|
|
|
|