mirror of
https://github.com/qist/tvbox.git
synced 2026-04-21 06:52:58 +00:00
fix
This commit is contained in:
70
js/678.js
70
js/678.js
@@ -1,40 +1,74 @@
|
|||||||
var rule = {
|
var rule = {
|
||||||
title:'闪雷影视',
|
title:'闪雷影视',
|
||||||
编码:'gb2312',
|
编码:'gb2312',
|
||||||
|
|
||||||
host:'http://114.100.48.52:18008',
|
host:'http://114.100.48.52:18008',
|
||||||
url:'/jdl/List.asp?classid=fyclass&type=&searchword=&page=fypage',
|
|
||||||
filterable:0,//是否启用分类筛选,
|
// 列表页在 jdl 目录
|
||||||
class_name:'电影&电视剧&综艺&动漫&音乐',
|
url:'/jdl/List.asp?ClassID=fyclass&page=fypage',
|
||||||
class_url:'1&10&8&6&12',
|
searchUrl:'/jdl/List.asp?ClassID=30&searchword=**&page=fypage',
|
||||||
searchUrl:'/jdl/List.asp?classid=30&type=&searchword=**&page=fypage',
|
|
||||||
|
class_name:'动作片&喜剧片&恐怖片&科幻片&战争片&动画片&爱情片&综艺片&剧情片&MTV&连续剧',
|
||||||
|
class_url:'1&2&3&4&5&6&7&8&9&12&10',
|
||||||
|
|
||||||
|
filterable:0,
|
||||||
searchable:2,
|
searchable:2,
|
||||||
quickSearch:1,
|
quickSearch:1,
|
||||||
|
|
||||||
headers:{
|
headers:{
|
||||||
'User-Agent':'MOBILE_UA',
|
'User-Agent':'MOBILE_UA',
|
||||||
},
|
},
|
||||||
|
|
||||||
play_parse:true,
|
play_parse:true,
|
||||||
|
|
||||||
|
// ⚠️ 重点:PlayMov 在根目录
|
||||||
lazy:$js.toString(() => {
|
lazy:$js.toString(() => {
|
||||||
var html = rule.host + '/PlayMov.asp?ClassId=' + input.split(",")[2] + '&video=2&exe=0&down=0&movNo=' + input.split(",")[3] + '&vgver=undefined&ClientIP=114.100.48.52'
|
let ids = input.split(",");
|
||||||
var url = request(html).match(/push\('(.*?)'/)[1]
|
let classId = ids[2];
|
||||||
url = url.replace(/https?:\/\/(?:[\d.]+|[\w\-]+)(?::\d+)?\//, rule.host + '/');
|
let movNo = ids[3];
|
||||||
|
|
||||||
|
let playUrl = rule.host + '/PlayMov.asp'
|
||||||
|
+ '?ClassId=' + classId
|
||||||
|
+ '&video=2&exe=0&down=0'
|
||||||
|
+ '&movNo=' + movNo
|
||||||
|
+ '&vgver=undefined'
|
||||||
|
+ '&ClientIP=114.100.48.52';
|
||||||
|
|
||||||
|
let html = request(playUrl);
|
||||||
|
let real = html.match(/push\('(.*?)'/)[1];
|
||||||
|
|
||||||
|
// 修正相对路径
|
||||||
|
if(real.startsWith('/')){
|
||||||
|
real = rule.host + real;
|
||||||
|
}
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
jx:0,
|
jx:0,
|
||||||
url:url,
|
url:real,
|
||||||
parse:0
|
parse:0
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|
||||||
limit:6,
|
limit:6,
|
||||||
推荐:'ul:eq(4)&&strong;img&&alt;img&&src;span:eq(1)&&Text;a&&href',
|
|
||||||
一级:'ul:eq(5)&&strong;img&&alt;img&&src;span:eq(1)&&Text;a&&href',
|
// 首页推荐
|
||||||
|
推荐:'ul.pic&&li;img&&alt;img&&src;span:eq(1)&&Text;a&&href',
|
||||||
|
|
||||||
|
// 分类列表
|
||||||
|
一级:'ul.pic&&li;img&&alt;img&&src;span:eq(1)&&Text;a&&href',
|
||||||
|
|
||||||
二级:{
|
二级:{
|
||||||
title:"ul:eq(2)&&li:eq(0)&&Text",
|
title:'body&&h1&&Text',
|
||||||
img:"img:eq(1)&&src",
|
img:'img&&src',
|
||||||
desc:"ul:eq(2)&&li:eq(1)&&Text;ul:eq(2)&&li:eq(2)&&Text;ul:eq(2)&&li:eq(3)&&Text",
|
desc:'body&&dd:eq(1)&&Text;body&&dd:eq(2)&&Text;body&&dd:eq(3)&&Text',
|
||||||
content:"body&&div:has(p)&&p:eq(3)&&Text",
|
content:'body&&div:has(p)&&p&&Text',
|
||||||
tabs:"",
|
|
||||||
lists:'body&&a[onclick^="senfe"]',
|
// 集数按钮是 onclick="senfe(...)"
|
||||||
|
tabs:'',
|
||||||
|
lists:'a[onclick^="senfe"]',
|
||||||
list_url:'a&&onclick',
|
list_url:'a&&onclick',
|
||||||
list_text:'a&&Text'
|
list_text:'a&&Text'
|
||||||
},
|
},
|
||||||
搜索:'*',
|
|
||||||
|
搜索:'*'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user