更新 'SrcJyData.js'

master
src48597962 2 years ago
parent 72b50c13e3
commit db3adbdc06
  1. 115
      SrcJyData.js

@ -9,8 +9,7 @@ if(Juyingcfg != ""){
}else{
var JYconfig= {};
}
log(Juyingcfg.alistLine);
log(Juyingcfg.aliecctype);
function JYsousuo(){
let datasource = getItem('searchsource',getItem('JYdatasource', 'sougou'));
var d = [];
@ -548,6 +547,61 @@ function JYerji(){
}
}
function JYyiji(){
let datasource = getItem('JYdatasource', 'sougou');
var d = [];
const Color = "#3399cc";
const categorys = datasource=="sougou"?['电视剧','电影','动漫','综艺','纪录片']:['电视剧','电影','动漫','综艺'];
const listTabs = datasource=="sougou"?['teleplay','film','cartoon','tvshow','documentary']:['2','1','4','3'];//['/dianshi/list','/dianying/list','/dongman/list','/zongyi/list'];
const fold = getMyVar('SrcJuying$fold', "0");
const 类型 = getMyVar('SrcJuying$类型', '');
const 地区 = getMyVar('SrcJuying$地区', '');
const 年代 = getMyVar('SrcJuying$年代', '');
const 资源 = getMyVar('SrcJuying$资源', '');
const 明星 = getMyVar('SrcJuying$明星', '');
const 排序 = getMyVar('SrcJuying$排序', '');
if(datasource=="sougou"){
MY_URL = "https://waptv.sogou.com/napi/video/classlist?abtest=0&iploc=CN1304&spver=&listTab=" + getMyVar('SrcJuying$listTab', 'teleplay') + "&filter=&start="+ (MY_PAGE-1)*15 +"&len=15&fr=filter";
if(类型 != ""){
MY_URL = MY_URL + "&style=" + 类型;
}
if(地区 != ""){
MY_URL = MY_URL + "&zone=" + 地区;
}
if(年代 != ""){
MY_URL = MY_URL + "&year=" + 年代;
}
if(资源 != ""){
MY_URL = MY_URL + "&fee=" + 资源;
}
if(明星 != ""){
MY_URL = MY_URL + "&emcee=" + 明星;
}
if(排序 != ""){
MY_URL = MY_URL + "&order=" + (排序=="最新"?"time":"score");
}
}else{
MY_URL = "https://api.web.360kan.com/v1/filter/list?catid=" + getMyVar('SrcJuying$listTab', '2') + "&size=36&pageno=" + MY_PAGE;
if(排序 != ""){
MY_URL = MY_URL + "&rank=" + 排序;
}
if(类型 != ""){
MY_URL = MY_URL + "&cat=" + 类型;
}
if(地区 != ""){
MY_URL = MY_URL + "&area=" + 地区;
}
if(年代 != ""){
MY_URL = MY_URL + "&year=" + 年代;
}
if(明星 != ""){
MY_URL = MY_URL + "&act=" + 明星;
}
}
if(MY_PAGE==1){
if(JYconfig.aliecctype){
setItem('aliecctype',"1");
}
downloadicon();//下载图标
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJyMenu.js');
if($.type(storage0.getItem('buttonmenu1'))=="object"){
@ -616,63 +670,6 @@ function JYyiji(){
col_type: 'line'
}
]
let datasource = getItem('JYdatasource', 'sougou');
var d = [];
const Color = "#3399cc";
const categorys = datasource=="sougou"?['电视剧','电影','动漫','综艺','纪录片']:['电视剧','电影','动漫','综艺'];
const listTabs = datasource=="sougou"?['teleplay','film','cartoon','tvshow','documentary']:['2','1','4','3'];//['/dianshi/list','/dianying/list','/dongman/list','/zongyi/list'];
const fold = getMyVar('SrcJuying$fold', "0");
const 类型 = getMyVar('SrcJuying$类型', '');
const 地区 = getMyVar('SrcJuying$地区', '');
const 年代 = getMyVar('SrcJuying$年代', '');
const 资源 = getMyVar('SrcJuying$资源', '');
const 明星 = getMyVar('SrcJuying$明星', '');
const 排序 = getMyVar('SrcJuying$排序', '');
if(datasource=="sougou"){
MY_URL = "https://waptv.sogou.com/napi/video/classlist?abtest=0&iploc=CN1304&spver=&listTab=" + getMyVar('SrcJuying$listTab', 'teleplay') + "&filter=&start="+ (MY_PAGE-1)*15 +"&len=15&fr=filter";
if(类型 != ""){
MY_URL = MY_URL + "&style=" + 类型;
}
if(地区 != ""){
MY_URL = MY_URL + "&zone=" + 地区;
}
if(年代 != ""){
MY_URL = MY_URL + "&year=" + 年代;
}
if(资源 != ""){
MY_URL = MY_URL + "&fee=" + 资源;
}
if(明星 != ""){
MY_URL = MY_URL + "&emcee=" + 明星;
}
if(排序 != ""){
MY_URL = MY_URL + "&order=" + (排序=="最新"?"time":"score");
}
}else{
MY_URL = "https://api.web.360kan.com/v1/filter/list?catid=" + getMyVar('SrcJuying$listTab', '2') + "&size=36&pageno=" + MY_PAGE;
if(排序 != ""){
MY_URL = MY_URL + "&rank=" + 排序;
}
if(类型 != ""){
MY_URL = MY_URL + "&cat=" + 类型;
}
if(地区 != ""){
MY_URL = MY_URL + "&area=" + 地区;
}
if(年代 != ""){
MY_URL = MY_URL + "&year=" + 年代;
}
if(明星 != ""){
MY_URL = MY_URL + "&act=" + 明星;
}
}
if(MY_PAGE==1){
if(Juyingcfg.aliecctype){
log('1');
setItem('aliecctype',"1");
}
for(var i in yijimenu){
d.push(
yijimenu[i]

Loading…
Cancel
Save