update SrcJySet.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent 9a37d5fb12
commit 86aaa821c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 14
      SrcJySet.js

@ -522,8 +522,8 @@ function SRCSet() {
col_type: "text_3" col_type: "text_3"
}); });
d.push({ d.push({
title: 'TVb导入', title: 'TVBox导入',
url:$("","输入TVbox/beibei资源地址").input(() => { url:$("","输入TVBox/beibei资源地址").input(() => {
try{ try{
require(config.依赖.match(/https.*\//)[0] + 'SrcJySet.js'); require(config.依赖.match(/https.*\//)[0] + 'SrcJySet.js');
var html = fetch(input,{timeout:2000}); var html = fetch(input,{timeout:2000});
@ -661,6 +661,16 @@ function SRCSet() {
}), }),
col_type: "text_3" col_type: "text_3"
}); });
d.push({
title: 'TVBox订阅',
url: $(JYconfig['TVBoxDY']?JYconfig['TVBoxDY']:"","输入TVBox在线接口,在搜索时自动加载").input((JYconfig,cfgfile) => {
JYconfig['TVBoxDY'] = input;
writeFile(cfgfile, JSON.stringify(JYconfig));
refreshPage(false);
return 'toast://已保存';
}, JYconfig, cfgfile),
col_type: "text_3"
});
d.push({ d.push({
title: '<br>', title: '<br>',
col_type: 'rich_text' col_type: 'rich_text'

Loading…
Cancel
Save