update SrcJyXunmi.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent 9328e81e59
commit aa4e338f89
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 6
      SrcJyXunmi.js

@ -114,7 +114,6 @@ function xunmi(name,data) {
var lists = "html.list"; var lists = "html.list";
} else if (obj.type=="xpath") { } else if (obj.type=="xpath") {
eval("var xpfile = " + fetchCache(url_api,48)) eval("var xpfile = " + fetchCache(url_api,48))
log('xpath')
} else { } else {
log('api类型错误') log('api类型错误')
} }
@ -215,11 +214,8 @@ function xunmi(name,data) {
}else if(obj.type=="xpath"){ }else if(obj.type=="xpath"){
try { try {
var ssurl = xpfile.searchUrl.replace('{wd}',name); var ssurl = xpfile.searchUrl.replace('{wd}',name);
log(xpfile.scVodNode)
log(xpfile.scVodNode)
if(xpfile.scVodNode=="json:list"){ if(xpfile.scVodNode=="json:list"){
var html = JSON.parse(request(ssurl, { headers: { 'User-Agent': urlua }, timeout:xunmitimeout*1000 })); var html = JSON.parse(request(ssurl, { headers: { 'User-Agent': urlua }, timeout:xunmitimeout*1000 }));
log(html)
var list = html.list||[]; var list = html.list||[];
} }
@ -241,7 +237,7 @@ function xunmi(name,data) {
desc: voddesc + '\n\n' + appname + ' ('+obj.type+')'+(obj.group?' ['+obj.group+']':''), desc: voddesc + '\n\n' + appname + ' ('+obj.type+')'+(obj.group?' ['+obj.group+']':''),
pic_url: vodpic?vodpic + "@Referer=":"https://www.xawqxh.net/mxtheme/images/loading.gif", pic_url: vodpic?vodpic + "@Referer=":"https://www.xawqxh.net/mxtheme/images/loading.gif",
url: $("hiker://empty##" + vodurl + "#immersiveTheme#").rule((type,ua) => { url: $("hiker://empty##" + vodurl + "#immersiveTheme#").rule((type,ua) => {
require(config.依赖); require(config.依赖.match(/https.*\//)[0] + 'SrcJyXunmi.js');
xunmierji(type,ua) xunmierji(type,ua)
},obj.type, urlua), },obj.type, urlua),
col_type: "movie_1_vertical_pic", col_type: "movie_1_vertical_pic",

Loading…
Cancel
Save