Skip to content

Commit

Permalink
update PG
Browse files Browse the repository at this point in the history
  • Loading branch information
gaotianliuyun committed Aug 30, 2023
1 parent 3f9666e commit 884f061
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 0825.json
Original file line number Diff line number Diff line change
@@ -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"},
{"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"}],
Expand Down
2 changes: 1 addition & 1 deletion 9918.json
Original file line number Diff line number Diff line change
@@ -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"},
{"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"},
Expand Down
Binary file modified jar/fm.jar
Binary file not shown.
Binary file modified jar/fm.nogo.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion js.json
Original file line number Diff line number Diff line change
@@ -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"}],
"wallpaper":"http://饭太硬.top/深色壁纸/api.php",
"sites":[
Expand Down
22 changes: 14 additions & 8 deletions js/meijumip.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ var rule = {
//host:'https://www.meijumi.xyz',
//homeUrl:'/',
//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/',
url: '/p/0/socks5%253A%252F%252F192.168.1.3%253A4592/https://www.meijumi.net/fyclass/page/fypage/?',
filter_url:'{{fl.class}}',
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,
quickSearch:0,
filterable:0,
Expand Down Expand Up @@ -39,43 +39,47 @@ let html = request(input);
let items;
items = pdfa(html, 'main#main div.hd ul li:has(>a>img)');
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({
title: pdfh(it, 'li&&Text'),
desc: '',
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)');
if (typeof items !== "undefined") {
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({
title: pdfh(it, 'span&&Text'),
desc: '',
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)');
if (typeof items !== "undefined") {
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({
title: pdfh(it, 'a&&title'),
desc: pdfh(it, 'div&&span b&&Text'),
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)');
if (typeof items !== "undefined") {
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({
title: pdfh(it, 'header a&&Text'),
desc: pdfh(it, 'header&&div span&&Text'),
pic_url: pd(it, 'figure img&&src', HOST),
url: pdfh(it, 'header a&&href')
url: burl
});
});
}
Expand All @@ -89,23 +93,25 @@ if (MY_CATE !== "news" ){
let html = request(input);
let list = pdfa(html, 'div#post_list_box article');
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({
title: pdfh(it, 'header a&&Text'),
desc: pdfh(it, 'div.entry-content span:eq(1)&&Text'),
pic_url: pd(it, 'figure img&&src', HOST),
url: pdfh(it, 'header a&&href')
url: burl
});
})
}else{
input = rule.homeUrl + MY_CATE + '/';
let html = request(input);
let list = pdfa(html, 'article ol&&li');
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({
title: pdfh(it, 'a&&Text'),
desc: pdfh(it, 'li&&span:eq(3)&&Text') + ' / 更新' + pdfh(it, 'li&&span:eq(1)&&Text'),
pic_url: '',
url: pdfh(it, 'a&&href')
url: burl
});
})
}
Expand Down

0 comments on commit 884f061

Please sign in to comment.