mirror of
https://github.com/qist/tvbox.git
synced 2025-01-23 18:34:58 +08:00
去广告
This commit is contained in:
parent
5da60b690f
commit
8eec88380b
@ -365,6 +365,7 @@
|
||||
{"name":"海外看","hosts":["haiwaikan"],"regex":["8.16","8.1748","10.0099","10.3333","10.85","12.33","16.0599"]},
|
||||
{"name":"索尼","hosts":["suonizy"],"regex":["15.1666","15.2666"]},
|
||||
{"name":"暴風","hosts":["bfzy"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:3,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"卧龙影视资源","hosts":["cdn.wl*"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:.*?,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"ikun资源","hosts":["bfikuncdn"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXT-X-KEY:METHOD=NONE\\r*\\n*#EXTINF:.*?,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"星星","hosts":["aws.ulivetv.net"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:8,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"量子广告","hosts":["vip.lz","hd.lz",".cdnlz",".cdnlz*"],"regex":["#EXTINF.*?\\s+[a-z0-9]{18}\\.ts","[a-z0-9]{18}\\.ts\\s+","#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF.*?\\s+[a-z0-9]{18}\\.ts[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
|
97
js/caiji.js
97
js/caiji.js
@ -8,7 +8,6 @@ var rule = {
|
||||
title:'点播',
|
||||
host:'http://tv.jsp47.com',
|
||||
homeUrl:'',
|
||||
//searchUrl:'https://www.suying.lol/index.php/vod/search.html?wd=**',
|
||||
searchUrl:'https://search.video.iqiyi.com/o?if=html5&key=**&pageNum=fypage&pos=1&pageSize=25&site=iqiyi',
|
||||
searchable:2,
|
||||
quickSearch:1,
|
||||
@ -23,66 +22,62 @@ var rule = {
|
||||
lazy:"",
|
||||
推荐:"",
|
||||
一级:"",
|
||||
二级:`js:
|
||||
let d = [];
|
||||
try {
|
||||
let html = request(input, {
|
||||
headers: getHeaders(url)
|
||||
});
|
||||
let json = JSON.parse(html).data;
|
||||
VOD = {
|
||||
vod_name: "",
|
||||
type_name: "",
|
||||
vod_actor: "",
|
||||
vod_year: "",
|
||||
vod_content: "",
|
||||
vod_remarks: "",
|
||||
vod_pic: ""
|
||||
};
|
||||
|
||||
|
||||
VOD.type_name = "";
|
||||
|
||||
VOD.vod_actor = "";
|
||||
VOD.vod_content = "特别提醒:ㅤ友情提示您请勿相信影片中的广告,以免上当受骗";
|
||||
let playData = json;
|
||||
let playMap = {};
|
||||
playData.forEach(function(it, index) {
|
||||
VOD.vod_name =it.name;
|
||||
VOD.vod_pic = "http://114.100.48.52:18008/movjpg/" + it.name + ".jpg";
|
||||
let names = it.name +" ("+ (index+1) +")";
|
||||
let playEsp = it.source.eps;
|
||||
playEsp.forEach(function(it) {
|
||||
let source = names;
|
||||
二级:`js:
|
||||
let d = [];
|
||||
try {
|
||||
let html = request(input, {
|
||||
headers: getHeaders(url)
|
||||
});
|
||||
let json = JSON.parse(html);
|
||||
VOD = {
|
||||
vod_name: "",
|
||||
type_name: "",
|
||||
vod_actor: "",
|
||||
vod_year: "",
|
||||
vod_content: "",
|
||||
vod_remarks: "",
|
||||
vod_pic: ""
|
||||
};
|
||||
let playData = json.data;
|
||||
let playMap = {};
|
||||
playData.forEach(function(it, index) {
|
||||
VOD.vod_name =it.name;
|
||||
VOD.type_name = it.class ? it.class+" 线路:"+json.portname : "未知 线路:"+json.portname;
|
||||
VOD.vod_actor = it.actor;
|
||||
VOD.vod_content = it.content ? it.content : "特别提醒:ㅤ友情提示您请勿相信影片中的广告,以免上当受骗";
|
||||
VOD.vod_year = it.year;
|
||||
VOD.vod_pic = it.pic ? it.pic : "http://114.100.48.52:18008/movjpg/" + it.name + ".jpg";
|
||||
let names = it.name +" ("+ (index+1) +")";
|
||||
let playEsp = it.source.eps;
|
||||
playEsp.forEach(function(it) {
|
||||
let source = names;
|
||||
if (!playMap.hasOwnProperty(source)) {
|
||||
playMap[source] = []
|
||||
}
|
||||
playMap[source].append(it['name'].strip() + '$' + it['url']);
|
||||
|
||||
})
|
||||
})
|
||||
let playFrom = [];
|
||||
let playList = [];
|
||||
Object.keys(playMap)
|
||||
.forEach(function(key) {
|
||||
playFrom.append(key);
|
||||
playList.append(playMap[key].join('#'))
|
||||
});
|
||||
let vod_play_from = playFrom.join('$$$');
|
||||
let vod_play_url = playList.join('$$$');
|
||||
VOD['vod_play_from'] = vod_play_from;
|
||||
VOD['vod_play_url'] = vod_play_url
|
||||
}
|
||||
playMap[source].append(it['name'].strip() + '$' + it['url']);
|
||||
|
||||
})
|
||||
})
|
||||
let playFrom = [];
|
||||
let playList = [];
|
||||
Object.keys(playMap).forEach(function(key) {
|
||||
playFrom.append(key);
|
||||
playList.append(playMap[key].join('#'))
|
||||
});
|
||||
let vod_play_from = playFrom.join('$$$');
|
||||
let vod_play_url = playList.join('$$$');
|
||||
VOD['vod_play_from'] = vod_play_from;
|
||||
VOD['vod_play_url'] = vod_play_url
|
||||
} catch (e) {
|
||||
log('获取二级详情页发生错误:' + e.message)
|
||||
}
|
||||
`,
|
||||
}`,
|
||||
搜索:`js:
|
||||
let d = [];
|
||||
let html = request(input);
|
||||
let json = JSON.parse(html);
|
||||
json.data.docinfos.forEach(function(data) {
|
||||
let channelName = data.albumDocInfo.channel.split(',')[0];
|
||||
if ((data.is_exactly_same === true)&&(channelName.includes('电影') || channelName.includes('电视剧') || channelName.includes('综艺') || channelName.includes('动漫') || channelName.includes('少儿'))) {
|
||||
if (channelName.includes('电影') || channelName.includes('电视剧') || channelName.includes('综艺') || channelName.includes('动漫') || channelName.includes('少儿')) {
|
||||
d.push({
|
||||
url: "https://www.tycng.com/caiji.php?jx=" + data.albumDocInfo.albumTitle,
|
||||
title: data.albumDocInfo.albumTitle,
|
||||
|
1
jsm.json
1
jsm.json
@ -366,6 +366,7 @@
|
||||
{"name":"海外看","hosts":["haiwaikan"],"regex":["8.16","8.1748","10.0099","10.3333","10.85","12.33","16.0599"]},
|
||||
{"name":"索尼","hosts":["suonizy"],"regex":["15.1666","15.2666"]},
|
||||
{"name":"暴風","hosts":["bfzy"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:3,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"卧龙影视资源","hosts":["cdn.wl*"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:.*?,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"ikun资源","hosts":["bfikuncdn"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXT-X-KEY:METHOD=NONE\\r*\\n*#EXTINF:.*?,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"星星","hosts":["aws.ulivetv.net"],"regex":["#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:8,[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
{"name":"量子广告","hosts":["vip.lz","hd.lz",".cdnlz",".cdnlz*"],"regex":["#EXTINF.*?\\s+[a-z0-9]{18}\\.ts","[a-z0-9]{18}\\.ts\\s+","#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF.*?\\s+[a-z0-9]{18}\\.ts[\\s\\S]*?#EXT-X-DISCONTINUITY"]},
|
||||
|
Loading…
x
Reference in New Issue
Block a user