update SrcJuying.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent c9e0f89991
commit 11078a651c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 11
      SrcJuying.js

@ -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);

Loading…
Cancel
Save