From c63c6348bc8a9e508004c92d3c605f1a623c4658 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 25 May 2024 20:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyData.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyData.js | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/SrcJyData.js b/SrcJyData.js index 514a78a8..408d9b87 100644 --- a/SrcJyData.js +++ b/SrcJyData.js @@ -136,11 +136,13 @@ function getSsData(name, jkdata) { let vodpic = list.vod_pic||list.pic||""; let voddesc = list.vod_remarks||list.state||""; let vodurl = list.vod_id?vodurlhead + list.vod_id:list.nextlink; + let vodcontent = list.vod_blurb || ""; return { vodname: vodname, vodpic: vodpic.indexOf('ver.txt')>-1?"":vodpic, voddesc: voddesc, - vodurl: vodurl + vodurl: vodurl, + vodcontent: vodcontent } } }) @@ -286,11 +288,7 @@ function getSsData(name, jkdata) { try { let search = lists.map((list)=>{ if(list){ - let vodname = list.vodname - let vodpic = list.vodpic?list.vodpic.replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,'') + "@Referer=":"https://www.xawqxh.net/mxtheme/images/loading.gif@Referer="; - let voddesc = list.voddesc; - - let vodurl = list.vodurl; + let vodpic = list.vodpic?list.vodpic.replace(/http.*\/tu\.php\?tu=|\/img\.php\?url=| |\/tu\.php\?tu=/g,''):"https://www.xawqxh.net/mxtheme/images/loading.gif"; if(/^\/\//.test(vodpic)){ vodpic = "https:" + vodpic; } @@ -298,28 +296,14 @@ function getSsData(name, jkdata) { vodpic = vodurl.match(/http(s)?:\/\/(.*?)\//)[0] + vodpic; } - let searchIncludes = typeof(searchContains) =="undefined" ? vodname.indexOf(name)>-1?1:0 :searchContains(vodname,name,true); - if(searchIncludes) { - return { - title: vodname, - desc: voddesc, - content: jkdata.name, - pic_url: vodpic, - url: $("hiker://empty##" + vodurl + "#immersiveTheme#"+(getMyVar('debug','0')=="0"?"#autoCache#":"")).rule((type,ua) => { - require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyXunmi.js'); - xunmierji(type,ua) - },api_type, api_ua), - col_type: "movie_1_vertical_pic", - extra: { - id: 'xunmi-'+url_api, - pic: vodpic, - name: vodname, - title: vodname+'-'+api_name, - //data: typeof(jsondata) =="undefined"|| jsondata ==null?{}:jsondata, - cls: 'xunmilist' - } - } - } + return { + title: list.vodname, + desc: list.voddesc, + content: lsit.vodcontent, + pic_url: vodpic, + url: list.vodurl, + col_type: "movie_1_vertical_pic" + } } }); searchs = search.filter(n => n);