tv/影港视频.js
kgys f3b987311c Update 101 files
- /优加视频.json
- /不卡视频.json
- /晨光视频.json
- /好影视频.json
- /河马视频.json
- /金鲲视频.json
- /美柏视频.json
- /米线视频.json
- /片吧视频.json
- /奇优视频.js
- /奇优视频.json
- /三米视频.json
- /淘剧视频.json
- /唐人视频.json
- /666.jar
- /666.png
- /111.jar
- /小米视频.js
- /超清视频.json
- /八戒视频.json
- /五福视频.json
- /666.txt
- /追剧视频.js
- /模板.js
- /uri.min.js
- /drpy.min.js
- /pako.min.js
- /node-rsa.js
- /jsonpathplus.min.js
- /json5.js
- /jsencrypt.js
- /jinja.min.js
- /jinja.js
- /gbk.js
- /drpy2.js
- /crypto-js.js
- /crypto-hiker.js
- /核桃视频.json
- /drpy2.min.js
- /cheerio.min.js
- /蝌蚪视频.json
- /天天视频.js
- /鲨鱼视频.json
- /天龙视频.js
- /小熊视频.js
- /星辰视频.json
- /网络视频.json
- /北川视频.json
- /酷吧视频.json
- /玖玖视频.json
- /灿烂视频.json
- /白羊视频.json
- /海纳视频.json
- /果蔬视频.json
- /荐片视频.js
- /闪雷影视.js
- /采集静态.json
- /金蔓视频.json
- /捌号视频.json
- /狒狒视频.json
- /影全视频.json
- /幺捌视频.json
- /捌伍视频.json
- /豌豆视频.json
- /星辰视频.js
- /影港磁力.json
- /天堂磁力.json
- /夕云视频.json
- /芒果视频.js
- /腾讯视频.js
- /搜狗视频.js
- /优酷视频.js
- /孜然视频.json
- /奈飞视频.json
- /达龟视频.json
- /俩捌视频.json
- /剧圈视频.json
- /木耳视频.json
- /南瓜视频.js
- /影库视频.json
- /磁熊磁力.js
- /剧圈视频.js
- /影港视频.js
- /陆维视频.js
- /狐狸视频.json
- /奇趣视频.json
- /畅梦视频.js
- /仨捌视频.js
- /仨伍视频.json
- /仨捌视频.json
- /仨陆视频.js
- /工场视频.js
- /哔站视频.js
- /666.js
- /云播视频.json
- /盒子视频.json
- /奇艺视频.js
- /客松视频.js
- /俩伍视频.json
- /非凡视频.json
- /666.json
2025-01-22 03:52:02 +00:00

212 lines
5.7 KiB
JavaScript

var rule = {
title:'电影港[磁]',
编码:'gb2312',
搜索编码:'gb2312',
host:'https://www.dygang.tv',
homeUrl:'/',
url: '/fyclass/index_fypage.htm?',
filter_url:'{{fl.class}}',
filter:{
},
searchUrl: '/e/search/index123.php#tempid=1&tbname=article&keyborad=**&show=title%2Csmalltext&Submit=%CB%D1%CB%F7;post',
searchable:2,
quickSearch:0,
filterable:0,
headers:{
'User-Agent': 'MOBILE_UA',
'Referer': 'https://www.dygang.tv/'
},
timeout:5000,
class_name:'最新电影&经典高清&国配电影&经典港片&国剧&日韩剧&美剧&综艺&动漫&纪录片&高清原盘&4K高清区&3D电影&电影专题',
class_url:'ys&bd&gy&gp&dsj&dsj1&yx&zy&dmq&jilupian&1080p&4K&3d&dyzt',
play_parse:true,
play_json:[{
re:'*',
json:{
parse:0,
jx:0
}
}],
lazy:'',
limit:6,
推荐:'div#tl tr:has(>td>table.border1>tbody>tr>td>a>img);table.border1 img&&alt;table.border1 img&&src;table:eq(2)&&Text;a&&href',
一级:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let d = [];
let turl = (MY_PAGE === 1)? '/' : '/index_'+ MY_PAGE + '.htm';
input = rule.homeUrl + MY_CATE + turl;
let html = request(input);
let list = pdfa(html, 'tr:has(>td>table.border1)');
list.forEach(it => {
let title = pdfh(it, 'table.border1 img&&alt');
if (title!==""){
d.push({
title: title,
desc: pdfh(it, 'table:eq(1)&&Text'),
pic_url: pd(it, 'table.border1 img&&src', HOST),
url: pdfh(it, 'a&&href')
});
}
})
setResult(d);
`,
二级:{
title:"div.title a&&Text",
img:"#dede_content img&&src",
desc:"#dede_content&&Text",
content:"#dede_content&&Text",
tabs:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
TABS=[]
let d = pdfa(html, '#dede_content table tbody tr');
let tabsa = [];
let tabsq = [];
let tabsm = false;
let tabse = false;
let tabm3u8 = [];
d.forEach(function(it) {
let burl = pd(it, 'a&&href',HOST);
if (burl.startsWith("https://www.aliyundrive.com/s/") || burl.startsWith("https://www.alipan.com/s/"){
tabsa.push("阿里雲盤");
}else if (burl.startsWith("https://pan.quark.cn/s/")){
tabsq.push("夸克網盤");
}else if (burl.startsWith("magnet")){
tabsm = true;
}else if (burl.startsWith("ed2k")){
tabse = true;
}
});
if (false){
d = pdfa(html, 'div:has(>div#post_content) div.widget:has(>h3)');
d.forEach(function(it) {
tabm3u8.push(pdfh(it, 'h3&&Text'));
});
}
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
if (false && tabsa.length + tabsq.length > 1){
TABS.push("選擇右側綫路");
}
let tmpIndex;
tmpIndex=1;
tabsa.forEach(function(it){
TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1;
});
tmpIndex=1;
tabsq.forEach(function(it){
TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1;
});
tabm3u8.forEach(function(it){
TABS.push(it);
});
log('dygang TABS >>>>>>>>>>>>>>>>>>' + TABS);
`,
lists:`js:
log(TABS);
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
LISTS = [];
let d = pdfa(html, '#dede_content table tbody tr');
let lista = [];
let listq = [];
let listm = [];
let liste = [];
let listm3u8 = {};
d.forEach(function(it){
let burl = pd(it, 'a&&href',HOST);
let title = pdfh(it, 'a&&Text');
log('dygang title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl;
if (burl.startsWith("https://www.aliyundrive.com/s/") || burl.startsWith("https://www.alipan.com/s/"){
if (true){
if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
}
}else{
burl = 'push://' + burl;
}
loopresult = title + '$' + burl;
lista.push(loopresult);
}else if (burl.startsWith("https://pan.quark.cn/s/")){
if (true){
if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
}
}else{
burl = 'push://' + burl;
}
loopresult = title + '$' + burl;
listq.push(loopresult);
}else if (burl.startsWith("magnet")){
listm.push(loopresult);
}else if (burl.startsWith("ed2k")){
liste.push(loopresult);
}
});
if (listm.length>0){
LISTS.push(listm);
}
if (liste.length>0){
LISTS.push(liste);
}
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
for ( const key in listm3u8 ){
if (listm3u8.hasOwnProperty(key)){
LISTS.push(listm3u8[key]);
}
};
`,
},
搜索:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let params = 'tempid=1&tbname=article&keyboard=' + KEY + '&show=title%2Csmalltext&Submit=%CB%D1%CB%F7';
let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
let postData = {
method: "POST",
body: params
};
delete(_fetch_params.headers['Content-Type']);
Object.assign(_fetch_params, postData);
log("dygang search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params));
let search_html = request( HOST + '/e/search/index123.php', _fetch_params, true);
//log("dygang search result>>>>>>>>>>>>>>>" + search_html);
let d=[];
let dlist = pdfa(search_html, 'table.border1');
dlist.forEach(function(it){
let title = pdfh(it, 'img&&alt');
if (searchObj.quick === true){
if (false && title.includes(KEY)){
title = KEY;
}
}
let img = pd(it, 'img&&src', HOST);
let content = pdfh(it, 'img&&alt');
let desc = pdfh(it, 'img&&alt');
let url = pd(it, 'a&&href', HOST);
d.push({
title:title,
img:img,
content:content,
desc:desc,
url:url
})
});
setResult(d);
`,
}