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