fix
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
var rule = {
|
var rule = {
|
||||||
title:'闪雷影视',
|
title:'闪雷影视',
|
||||||
编码:'gb2312',
|
编码:'gb2312',
|
||||||
host:'http://223.100.63.144:82',
|
host:'http://114.100.48.52:18008/jdl',
|
||||||
url:'/www/List.asp?classid=fyclass&searchword=&page=fypage',
|
url:'/index.asp?action=classlist&classid=fyclass&page=fypage',
|
||||||
filterable:0,//是否启用分类筛选,
|
filterable:0,//是否启用分类筛选,
|
||||||
class_name:'电影&电视剧&综艺&动漫&音乐',
|
class_name:'电影&电视剧&综艺&动漫&音乐&动作片&喜剧片&恐怖片&科幻片&战争片&爱情片',
|
||||||
class_url:'5000&10&8&6&12',
|
class_url:'1&10&8&6&12&1&2&3&4&5&7',
|
||||||
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:{
|
headers:{
|
||||||
@@ -14,27 +14,40 @@ var rule = {
|
|||||||
},
|
},
|
||||||
play_parse:true,
|
play_parse:true,
|
||||||
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=121.16.47.94'
|
var html = request(input);
|
||||||
var url = request(html).match(/push\('(.*?)'/)[1]
|
var url = html.match(/var DownURL = "(.*?)"/);
|
||||||
url = url.replace(/https?:\/\/(?:[\d.]+|[\w\-]+)(?::\d+)?\//, rule.host + '/');
|
if(url){
|
||||||
input = {
|
url = url[1];
|
||||||
jx:0,
|
url = url.replace(/https?:\/\/(?:[\d.]+|[\w\-]+)(?::\d+)?\//, rule.host + '/');
|
||||||
url:url,
|
input = {
|
||||||
parse:0
|
jx:0,
|
||||||
};
|
url:url,
|
||||||
|
parse:0
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
// 如果找不到DownURL,尝试从onclick事件中提取
|
||||||
|
var movNo = input.split(',')[3];
|
||||||
|
var classId = input.split(',')[2];
|
||||||
|
var playUrl = rule.host + '/PlayMov.asp?ClassId=' + classId + '&video=2&exe=0&down=0&movNo=' + movNo + '&vgver=undefined';
|
||||||
|
var playHtml = request(playUrl);
|
||||||
|
var extractedUrl = playHtml.match(/push\('(.*?)'/);
|
||||||
|
if(extractedUrl && extractedUrl.length>1){
|
||||||
|
input = extractedUrl[1];
|
||||||
|
}
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
limit:6,
|
limit:6,
|
||||||
推荐:'ul:eq(4)&&strong;img&&alt;img&&src;span:eq(1)&&Text;a&&href',
|
推荐:'div.box&&div.all.border&&ul.pic&&li;a&&title;img&&src;;a&&href',
|
||||||
一级:'ul:eq(5)&&strong;img&&alt;img&&src;span:eq(1)&&Text;a&&href',
|
一级:'div.box&&div.allx.border&&ul.pic&&li;a&&title;img&&src;;a&&href',
|
||||||
二级:{
|
二级:{
|
||||||
title:"ul:eq(2)&&li:eq(0)&&Text",
|
title:"div.intro&&ul&&li.h4&&Text",
|
||||||
img:"img:eq(1)&&src",
|
img:"div.intro&&div.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:"div.intro&&ul&&li:eq(2)&&Text;div.intro&&ul&&li:eq(4)&&Text;div.intro&&ul&&li:eq(3)&&Text;div.intro&&ul&&li:eq(5)&&Text;div.intro&&ul&&li:eq(6)&&Text",
|
||||||
content:"body&&div:has(p)&&p:eq(3)&&Text",
|
content:"div.textnr&&Text",
|
||||||
tabs:"",
|
tabs:"div.title&&h3&&Text",
|
||||||
lists:'body&&a[onclick^="senfe"]',
|
lists:'#content&&a[onclick^=\"senfe\"]',
|
||||||
list_url:'a&&onclick',
|
list_url:'a&&onclick',
|
||||||
list_text:'a&&Text'
|
list_text:'a&&Text'
|
||||||
},
|
},
|
||||||
搜索:'*',
|
搜索:'div.list&&dl;dt&&a&&title;dt&&img&&src;dd:eq(1)&&Text;dd&&a&&href',
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user