mirror of https://github.com/qist/tvbox.git
parent
fef831a588
commit
1a7ca93a26
@ -1,57 +1,40 @@
|
||||
var rule = {
|
||||
title: '闪雷影视',
|
||||
编码: 'gb2312',
|
||||
host: 'http://114.100.48.52:18008/jdl',
|
||||
url: '/List.asp?ClassID=fyclass&page=fypage',
|
||||
|
||||
class_name: '动作片&喜剧片&恐怖片&科幻片&战争片&动画片&爱情片&综艺&剧情片&连续剧',
|
||||
class_url: '1&2&3&4&5&6&7&8&9&10',
|
||||
|
||||
searchUrl: '/List.asp?ClassID=30&searchword=**&page=fypage',
|
||||
searchable: 2,
|
||||
quickSearch: 1,
|
||||
|
||||
headers: {
|
||||
'User-Agent': 'MOBILE_UA',
|
||||
title:'闪雷影视',
|
||||
编码:'gb2312',
|
||||
host:'http://223.100.63.144:82',
|
||||
url:'/www/List.asp?classid=fyclass&searchword=&page=fypage',
|
||||
filterable:0,//是否启用分类筛选,
|
||||
class_name:'电影&电视剧&综艺&动漫&音乐',
|
||||
class_url:'5000&10&8&6&12',
|
||||
searchUrl:'/www/List.asp?classid=30&searchword=**&page=fypage',
|
||||
searchable:2,
|
||||
quickSearch:1,
|
||||
headers:{
|
||||
'User-Agent':'MOBILE_UA',
|
||||
},
|
||||
|
||||
play_parse: true,
|
||||
|
||||
lazy: $js.toString(() => {
|
||||
// input: movie.asp?ClassID=578050
|
||||
let cid = input.match(/ClassID=(\d+)/)[1];
|
||||
let html = rule.host + '/PlayMov.asp?ClassId=' + cid +
|
||||
'&video=2&exe=0&down=0&movNo=1&vgver=2009&ClientIP=121.16.47.94';
|
||||
|
||||
let page = request(html);
|
||||
let url = page.match(/push\('(.*?)'/)[1];
|
||||
|
||||
// 修正为站内路径
|
||||
url = url.replace(/https?:\/\/[^\/]+\//, rule.host + '/');
|
||||
|
||||
play_parse:true,
|
||||
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=121.16.47.94'
|
||||
var url = request(html).match(/push\('(.*?)'/)[1]
|
||||
url = url.replace(/https?:\/\/(?:[\d.]+|[\w\-]+)(?::\d+)?\//, rule.host + '/');
|
||||
input = {
|
||||
jx: 0,
|
||||
parse: 0,
|
||||
url: url
|
||||
jx:0,
|
||||
url:url,
|
||||
parse:0
|
||||
};
|
||||
}),
|
||||
|
||||
limit: 6,
|
||||
|
||||
推荐: '.text li;a&&Text;;span.num&&Text;a&&href',
|
||||
|
||||
一级: 'a[href^="movie.asp"]&&Text;;a&&href',
|
||||
|
||||
二级: {
|
||||
title: 'ul&&li:eq(0)&&Text',
|
||||
img: '.intro img&&src',
|
||||
desc: 'ul&&li:eq(1)&&Text;ul&&li:eq(2)&&Text;ul&&li:eq(4)&&Text;ul&&li:eq(5)&&Text',
|
||||
content: '.textnr&&Text',
|
||||
tabs: '',
|
||||
lists: '.listt a',
|
||||
list_url: 'a&&href',
|
||||
list_text: 'a&&Text'
|
||||
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',
|
||||
二级:{
|
||||
title:"ul:eq(2)&&li:eq(0)&&Text",
|
||||
img:"img:eq(1)&&src",
|
||||
desc:"ul:eq(2)&&li:eq(1)&&Text;ul:eq(2)&&li:eq(2)&&Text;ul:eq(2)&&li:eq(3)&&Text",
|
||||
content:"body&&div:has(p)&&p:eq(3)&&Text",
|
||||
tabs:"",
|
||||
lists:'body&&a[onclick^="senfe"]',
|
||||
list_url:'a&&onclick',
|
||||
list_text:'a&&Text'
|
||||
},
|
||||
|
||||
搜索: 'a[href^="movie.asp"]&&Text;;a&&href'
|
||||
};
|
||||
搜索:'*',
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue