|
|
@ -583,6 +583,12 @@ function sousuo2() { |
|
|
|
//搜索
|
|
|
|
//搜索
|
|
|
|
function sousuo() { |
|
|
|
function sousuo() { |
|
|
|
var d = []; |
|
|
|
var d = []; |
|
|
|
|
|
|
|
var cfgfile = "hiker://files/rules/Src/Juying/config.json"; |
|
|
|
|
|
|
|
var Juyingcfg=fetch(cfgfile); |
|
|
|
|
|
|
|
if(Juyingcfg != ""){ |
|
|
|
|
|
|
|
eval("var JYconfig=" + Juyingcfg+ ";"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(JYconfig.sousuoms!=2){ |
|
|
|
var html = getResCode(); |
|
|
|
var html = getResCode(); |
|
|
|
try { |
|
|
|
try { |
|
|
|
var list = JSON.parse(html.match(/INITIAL_STATE.*?({.*});/)[1]).result.longVideo.results; |
|
|
|
var list = JSON.parse(html.match(/INITIAL_STATE.*?({.*});/)[1]).result.longVideo.results; |
|
|
@ -602,11 +608,12 @@ function sousuo() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (e) { } |
|
|
|
} catch (e) { } |
|
|
|
|
|
|
|
} |
|
|
|
if(fileExist('hiker://files/rules/Src/Juying/jiekou.json')){ |
|
|
|
if(fileExist('hiker://files/rules/Src/Juying/jiekou.json')){ |
|
|
|
try{ |
|
|
|
try{ |
|
|
|
let name = encodeURIComponent(MY_URL.match(/query(.*?)&/)[1]); |
|
|
|
let name = MY_URL.match(/query=(.*?)&/)[1]; |
|
|
|
d.push({ |
|
|
|
d.push({ |
|
|
|
title: "点击调用聚影接口进行聚合搜索", |
|
|
|
title: "调用聚影接口聚合搜索>"+name, |
|
|
|
url: $('hiker://empty#noRecordHistory##noHistory#').rule((name) => { |
|
|
|
url: $('hiker://empty#noRecordHistory##noHistory#').rule((name) => { |
|
|
|
require(config.依赖.match(/https.*\//)[0] + 'SrcJyXunmi.js'); |
|
|
|
require(config.依赖.match(/https.*\//)[0] + 'SrcJyXunmi.js'); |
|
|
|
xunmi(name); |
|
|
|
xunmi(name); |
|
|
|