mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 03:04:56 +08:00
update PG
This commit is contained in:
parent
3f9666ece0
commit
884f06114d
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"spider":"./jar/fm.jar;md5;9bb88e432e0721f07fa180ee8e339905",
|
"spider":"./jar/fm.jar;md5;90d78495ccfa0386cbc920aad30d385e",
|
||||||
"lives":[{"name":"初秋语•综合","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":"初秋语•综合","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":"Ray•综合","type":0,"url":"https://xhdwc.tk/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
{"name":"Ray•综合","type":0,"url":"https://xhdwc.tk/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||||
{"name":"俊于•综合","type":0,"url":"http://home.jundie.top:81/Cat/tv/live.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"}],
|
{"name":"俊于•综合","type":0,"url":"http://home.jundie.top:81/Cat/tv/live.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"}],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"spider":"./jar/fm.nogo.jar;md5;cf657803bbc776ced7add96d61ad1863",
|
"spider":"./jar/fm.nogo.jar;md5;625410df517af1ac645ad3b809832401",
|
||||||
"lives":[{"name":"初秋语","type":0,"url":"./listx.txt"},
|
"lives":[{"name":"初秋语","type":0,"url":"./listx.txt"},
|
||||||
{"name":"YanG","type":0,"url":"https://ghproxy.com/https://raw.githubusercontent.com/YanG-1989/m3u/main/Adult.m3u"},
|
{"name":"YanG","type":0,"url":"https://ghproxy.com/https://raw.githubusercontent.com/YanG-1989/m3u/main/Adult.m3u"},
|
||||||
{"name":"atsushi","type":0,"url":"https://ghproxy.com/https://raw.githubusercontent.com/atsushi444/iptv-epg/main/Adult.m3u"},
|
{"name":"atsushi","type":0,"url":"https://ghproxy.com/https://raw.githubusercontent.com/atsushi444/iptv-epg/main/Adult.m3u"},
|
||||||
|
BIN
jar/fm.jar
BIN
jar/fm.jar
Binary file not shown.
BIN
jar/fm.nogo.jar
BIN
jar/fm.nogo.jar
Binary file not shown.
2
js.json
2
js.json
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"spider":"./jar/fm.jar;md5;9bb88e432e0721f07fa180ee8e339905",
|
"spider":"./jar/fm.jar;md5;90d78495ccfa0386cbc920aad30d385e",
|
||||||
"lives":[{"name":"live","type":0,"url":"https://xhdwc.tk/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"}],
|
"lives":[{"name":"live","type":0,"url":"https://xhdwc.tk/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"}],
|
||||||
"wallpaper":"http://饭太硬.top/深色壁纸/api.php",
|
"wallpaper":"http://饭太硬.top/深色壁纸/api.php",
|
||||||
"sites":[
|
"sites":[
|
||||||
|
@ -3,13 +3,13 @@ var rule = {
|
|||||||
//host:'https://www.meijumi.xyz',
|
//host:'https://www.meijumi.xyz',
|
||||||
//homeUrl:'/',
|
//homeUrl:'/',
|
||||||
//url: '/fyclass/page/fypage/?',
|
//url: '/fyclass/page/fypage/?',
|
||||||
host:'http://127.0.0.1:10079',
|
host:'http://127.0.0.1:10078',
|
||||||
homeUrl:'/p/0/socks5%253A%252F%252F192.168.1.3%253A4592/https://www.meijumi.net/',
|
homeUrl:'/p/0/socks5%253A%252F%252F192.168.1.3%253A4592/https://www.meijumi.net/',
|
||||||
url: '/p/0/socks5%253A%252F%252F192.168.1.3%253A4592/https://www.meijumi.net/fyclass/page/fypage/?',
|
url: '/p/0/socks5%253A%252F%252F192.168.1.3%253A4592/https://www.meijumi.net/fyclass/page/fypage/?',
|
||||||
filter_url:'{{fl.class}}',
|
filter_url:'{{fl.class}}',
|
||||||
filter:{
|
filter:{
|
||||||
},
|
},
|
||||||
searchUrl: '/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.meijumi.net/?s=**',
|
searchUrl: '/p/0/socks5%3A%2F%2F192.168.1.3%3A4592/https://www.meijumi.net/?s=**',
|
||||||
searchable:2,
|
searchable:2,
|
||||||
quickSearch:0,
|
quickSearch:0,
|
||||||
filterable:0,
|
filterable:0,
|
||||||
@ -39,43 +39,47 @@ let html = request(input);
|
|||||||
let items;
|
let items;
|
||||||
items = pdfa(html, 'main#main div.hd ul li:has(>a>img)');
|
items = pdfa(html, 'main#main div.hd ul li:has(>a>img)');
|
||||||
items.forEach(it => {
|
items.forEach(it => {
|
||||||
|
let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net");
|
||||||
d.push({
|
d.push({
|
||||||
title: pdfh(it, 'li&&Text'),
|
title: pdfh(it, 'li&&Text'),
|
||||||
desc: '',
|
desc: '',
|
||||||
pic_url: pd(it, 'img&&src', HOST),
|
pic_url: pd(it, 'img&&src', HOST),
|
||||||
url: pdfh(it, 'a&&href')
|
url: burl
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
items = pdfa(html, 'main#main div.hd div.huandeng span:has(>a>img)');
|
items = pdfa(html, 'main#main div.hd div.huandeng span:has(>a>img)');
|
||||||
if (typeof items !== "undefined") {
|
if (typeof items !== "undefined") {
|
||||||
items.forEach(it => {
|
items.forEach(it => {
|
||||||
|
let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net");
|
||||||
d.push({
|
d.push({
|
||||||
title: pdfh(it, 'span&&Text'),
|
title: pdfh(it, 'span&&Text'),
|
||||||
desc: '',
|
desc: '',
|
||||||
pic_url: pd(it, 'img&&src', HOST),
|
pic_url: pd(it, 'img&&src', HOST),
|
||||||
url: pdfh(it, 'a&&href')
|
url: burl
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
items = pdfa(html, 'main#main div#pingbi_gg div:has(>div>a>img)');
|
items = pdfa(html, 'main#main div#pingbi_gg div:has(>div>a>img)');
|
||||||
if (typeof items !== "undefined") {
|
if (typeof items !== "undefined") {
|
||||||
items.forEach(it => {
|
items.forEach(it => {
|
||||||
|
let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net");
|
||||||
d.push({
|
d.push({
|
||||||
title: pdfh(it, 'a&&title'),
|
title: pdfh(it, 'a&&title'),
|
||||||
desc: pdfh(it, 'div&&span b&&Text'),
|
desc: pdfh(it, 'div&&span b&&Text'),
|
||||||
pic_url: pd(it, 'img&&src', HOST),
|
pic_url: pd(it, 'img&&src', HOST),
|
||||||
url: pdfh(it, 'a&&href')
|
url: burl
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
items = pdfa(html, 'main#main div#pingbi_gg div:has(>header>div>a)');
|
items = pdfa(html, 'main#main div#pingbi_gg div:has(>header>div>a)');
|
||||||
if (typeof items !== "undefined") {
|
if (typeof items !== "undefined") {
|
||||||
items.forEach(it => {
|
items.forEach(it => {
|
||||||
|
let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'header a&&href').replace(rule.host, "https://www.meijumi.net");
|
||||||
d.push({
|
d.push({
|
||||||
title: pdfh(it, 'header a&&Text'),
|
title: pdfh(it, 'header a&&Text'),
|
||||||
desc: pdfh(it, 'header&&div span&&Text'),
|
desc: pdfh(it, 'header&&div span&&Text'),
|
||||||
pic_url: pd(it, 'figure img&&src', HOST),
|
pic_url: pd(it, 'figure img&&src', HOST),
|
||||||
url: pdfh(it, 'header a&&href')
|
url: burl
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -89,11 +93,12 @@ if (MY_CATE !== "news" ){
|
|||||||
let html = request(input);
|
let html = request(input);
|
||||||
let list = pdfa(html, 'div#post_list_box article');
|
let list = pdfa(html, 'div#post_list_box article');
|
||||||
list.forEach(it => {
|
list.forEach(it => {
|
||||||
|
let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'header a&&href').replace(rule.host, "https://www.meijumi.net");
|
||||||
d.push({
|
d.push({
|
||||||
title: pdfh(it, 'header a&&Text'),
|
title: pdfh(it, 'header a&&Text'),
|
||||||
desc: pdfh(it, 'div.entry-content span:eq(1)&&Text'),
|
desc: pdfh(it, 'div.entry-content span:eq(1)&&Text'),
|
||||||
pic_url: pd(it, 'figure img&&src', HOST),
|
pic_url: pd(it, 'figure img&&src', HOST),
|
||||||
url: pdfh(it, 'header a&&href')
|
url: burl
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
@ -101,11 +106,12 @@ if (MY_CATE !== "news" ){
|
|||||||
let html = request(input);
|
let html = request(input);
|
||||||
let list = pdfa(html, 'article ol&&li');
|
let list = pdfa(html, 'article ol&&li');
|
||||||
list.forEach(it => {
|
list.forEach(it => {
|
||||||
|
let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net");
|
||||||
d.push({
|
d.push({
|
||||||
title: pdfh(it, 'a&&Text'),
|
title: pdfh(it, 'a&&Text'),
|
||||||
desc: pdfh(it, 'li&&span:eq(3)&&Text') + ' / 更新' + pdfh(it, 'li&&span:eq(1)&&Text'),
|
desc: pdfh(it, 'li&&span:eq(3)&&Text') + ' / 更新' + pdfh(it, 'li&&span:eq(1)&&Text'),
|
||||||
pic_url: '',
|
pic_url: '',
|
||||||
url: pdfh(it, 'a&&href')
|
url: burl
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user