多渠道搜索

This commit is contained in:
qist 2024-08-04 13:08:55 +08:00
parent baa0e4c963
commit 639d54b868
6 changed files with 37 additions and 39 deletions

View File

@ -1,5 +1,5 @@
{ {
"spider":"./jar/fan.txt;md5;d295ec4dcf9a78f8441996009a88ecb0", "spider":"./jar/fan.txt;md5;a509c54dbfed19222e5b799a1fa86ad4",
"logo":"https://avatars.githubusercontent.com/u/58679624?v=4", "logo":"https://avatars.githubusercontent.com/u/58679624?v=4",
"lives":[{"name":"初秋语•ipv4","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"}, "lives":[{"name":"初秋语•ipv4","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"YanG•综合","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/YanG-1989/m3u/main/Gather.m3u","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"}, {"name":"YanG•综合","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/YanG-1989/m3u/main/Gather.m3u","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},

View File

@ -1,5 +1,5 @@
{ {
"spider":"./jar/fan.txt;md5;d295ec4dcf9a78f8441996009a88ecb0", "spider":"./jar/fan.txt;md5;a509c54dbfed19222e5b799a1fa86ad4",
"wallpaper":"https://深色壁纸.xxooo.cf/", "wallpaper":"https://深色壁纸.xxooo.cf/",
"sites":[ "sites":[

View File

@ -1,5 +1,5 @@
{ {
"spider":"./jar/fan.txt;md5;d295ec4dcf9a78f8441996009a88ecb0", "spider":"./jar/fan.txt;md5;a509c54dbfed19222e5b799a1fa86ad4",
"lives":[{"name":"live","type":0,"url":"./tv.txt","playerType":1,"ua":"Lavff/98.27.100","timeout":20,"epg":"https://epg.112114.eu.org/?ch={name}&date={date}","logo":"https://logo.tycng.com/{name}.png"}], "lives":[{"name":"live","type":0,"url":"./tv.txt","playerType":1,"ua":"Lavff/98.27.100","timeout":20,"epg":"https://epg.112114.eu.org/?ch={name}&date={date}","logo":"https://logo.tycng.com/{name}.png"}],
"wallpaper":"https://qist.cc/api/api.php", "wallpaper":"https://qist.cc/api/api.php",
"sites":[ "sites":[

Binary file not shown.

View File

@ -8,7 +8,7 @@ var rule = {
title: '点播', title: '点播',
host: 'http://tv.jsp47.com', host: 'http://tv.jsp47.com',
homeUrl: '', homeUrl: '',
searchUrl:'https://search.video.iqiyi.com/o?if=html5&key=**&pageNum=fypage&pos=1&pageSize=25&site=iqiyi', searchUrl: 'https://www.tycng.com/cj.php?q=**&pageNum=fypage',
searchable: 2, searchable: 2,
quickSearch: 1, quickSearch: 1,
multi: 1, multi: 1,
@ -47,7 +47,8 @@ var rule = {
VOD.vod_content = it.content ? it.content : "特别提醒:ㅤ友情提示您请勿相信影片中的广告,以免上当受骗"; VOD.vod_content = it.content ? it.content : "特别提醒:ㅤ友情提示您请勿相信影片中的广告,以免上当受骗";
VOD.vod_year = it.year; VOD.vod_year = it.year;
VOD.vod_pic = it.pic ? it.pic : "http://114.100.48.52:18008/movjpg/" + it.name + ".jpg"; VOD.vod_pic = it.pic ? it.pic : "http://114.100.48.52:18008/movjpg/" + it.name + ".jpg";
let names = it.name +" ("+ (index+1) +")"; //let names = it.name +" ("+ (index+1) +")";
let names = it.name;
let playEsp = it.source.eps; let playEsp = it.source.eps;
playEsp.forEach(function(it) { playEsp.forEach(function(it) {
let source = names; let source = names;
@ -75,17 +76,14 @@ var rule = {
let d = []; let d = [];
let html = request(input); let html = request(input);
let json = JSON.parse(html); let json = JSON.parse(html);
json.data.docinfos.forEach(function(data) { json.data.forEach(function(data) {
let channelName = data.albumDocInfo.channel.split(',')[0];
if (channelName.includes('电影') || channelName.includes('电视剧') || channelName.includes('综艺') || channelName.includes('动漫') || channelName.includes('少儿')) {
d.push({ d.push({
url: "https://www.tycng.com/caiji.php?jx=" + data.albumDocInfo.albumTitle, url: "https://www.tycng.com/cj.php?id=" + data.id + "&port=" + json.port,
title: data.albumDocInfo.albumTitle, title: data.name,
img: data.albumDocInfo.albumVImage, img: data.pic,
content:data.albumDocInfo.channel, content:data.content,
desc: data.albumDocInfo.tvFocus desc: data.remarks + "," + data.type_name + "," + json.port
}) })
}
}); });
setResult(d); setResult(d);
` `

View File

@ -1,5 +1,5 @@
{ {
"spider":"./jar/fan.txt;md5;d295ec4dcf9a78f8441996009a88ecb0", "spider":"./jar/fan.txt;md5;a509c54dbfed19222e5b799a1fa86ad4",
"lives":[ "lives":[
{"name":"live","type":0,"url":"https://epg.pw/test_channels.m3u","playerType":1,"ua":"okhttp/3.8.1","timeout":20,"epg":"https://epg.112114.eu.org/?ch={name}&date={date}","logo":"https://epg.112114.eu.org/logo/{name}.png"}, {"name":"live","type":0,"url":"https://epg.pw/test_channels.m3u","playerType":1,"ua":"okhttp/3.8.1","timeout":20,"epg":"https://epg.112114.eu.org/?ch={name}&date={date}","logo":"https://epg.112114.eu.org/logo/{name}.png"},
{"name":"ipv6","type":0,"url":"./tvboxtv.txt","playerType":1,"ua":"okhttp/3.8.1","timeout":20,"epg":"https://epg.112114.eu.org/?ch={name}&date={date}","logo":"https://epg.112114.eu.org/logo/{name}.png"} {"name":"ipv6","type":0,"url":"./tvboxtv.txt","playerType":1,"ua":"okhttp/3.8.1","timeout":20,"epg":"https://epg.112114.eu.org/?ch={name}&date={date}","logo":"https://epg.112114.eu.org/logo/{name}.png"}