From 90b83778533dd2a0a109e0bda5adbe918b47fd79 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 1 Feb 2024 19:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuPublic.js | 74 ++++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/SrcJuPublic.js b/SrcJuPublic.js index b28244c6..54ccb57c 100644 --- a/SrcJuPublic.js +++ b/SrcJuPublic.js @@ -383,37 +383,45 @@ log = function(msg){ } } //聚影搜索调用 -function JySearch(sskeyword) { - return getItem("juyingSeachType")=="聚搜接口"?$('hiker://empty#noRecordHistory##noHistory#').rule((name) => { - require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyXunmi.js'); - xunmi(name); - }, sskeyword):getItem("juyingSeachType")=="云盘接口"?$('hiker://empty#noRecordHistory##noHistory#').rule((name) => { - let d = []; - d.push({ - title: name+"-云盘聚合搜索", - url: "hiker://empty", - col_type: "text_center_1", - extra: { - id: "listloading", - lineVisible: false - } - }) - setResult(d); - require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyAliDisk.js'); - aliDiskSearch(name); - }, sskeyword):getItem("juyingSeachType")=="Alist接口"?$('hiker://empty#noRecordHistory##noHistory#').rule((name) => { - let d = []; - d.push({ - title: name+"-Alist聚合搜索", - url: "hiker://empty", - col_type: "text_center_1", - extra: { - id: "listloading", - lineVisible: false - } - }) - setResult(d); - require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyAlist.js'); - alistSearch2(name,1); - }, sskeyword):"hiker://search?rule=聚影√&s=" + sskeyword +function JySearch(sskeyword,sstype) { + if(sstype=="聚搜接口"){ + return $('hiker://empty#noRecordHistory##noHistory#').rule((name) => { + require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyXunmi.js'); + xunmi(name); + }, sskeyword); + }else if(sstype=="云盘接口"){ + return $('hiker://empty#noRecordHistory##noHistory#').rule((name) => { + let d = []; + d.push({ + title: name+"-云盘聚合搜索", + url: "hiker://empty", + col_type: "text_center_1", + extra: { + id: "listloading", + lineVisible: false + } + }) + setResult(d); + require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyAliDisk.js'); + aliDiskSearch(name); + }, sskeyword); + }else if(sstype=="Alist接口"){ + return $('hiker://empty#noRecordHistory##noHistory#').rule((name) => { + let d = []; + d.push({ + title: name+"-Alist聚合搜索", + url: "hiker://empty", + col_type: "text_center_1", + extra: { + id: "listloading", + lineVisible: false + } + }) + setResult(d); + require(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcJyAlist.js'); + alistSearch2(name,1); + }, sskeyword); + }else{ + return "hiker://search?rule=聚影√&s=" + sskeyword; + } } \ No newline at end of file