Add files via upload

This commit is contained in:
lem85930 2024-08-01 15:21:48 +08:00 committed by GitHub
parent c4363f2732
commit e583d2615f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 392 additions and 0 deletions

74
JN/dr_py/js/2345one.js Normal file
View File

@ -0,0 +1,74 @@
var rule = {
author: '小可乐/240701/第一版',
title: '2345one',
类型: '影视',
host: 'http://142.171.220.28',
hostJs: '',
headers: {'User-Agent': 'MOBILE_UA'},
编码: 'utf-8',
timeout: 5000,
homeUrl: '/',
url: '/vodshow/fyfilter',
filter_url: '{{fl.cateId}}-{{fl.area}}-{{fl.by}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}',
detailUrl: '',
searchUrl: '/vodsearch/**----------fypage---',
searchable: 1,
quickSearch: 1,
filterable: 1,
class_name: '电影天堂&电视剧集&樱花动漫&综艺娱乐',
class_url: 'dianying&dianshiju&dongman&zongyi',
filter_def: {
dianying: {cateId: 'dianying'},
dianshiju: {cateId: 'dianshiju'},
dongman: {cateId: 'dongman'},
zongyi: {cateId: 'zongyi'}
},
play_parse: true,
lazy: `js:
let kcode = JSON.parse(request(input).match(/var player_.*?=(.*?)</)[1]);
let kurl = kcode.url;
if (/\\.(m3u8|mp4)/.test(kurl)) {
input = { jx: 0, parse: 0, url: kurl };
} else {
input = { jx: 0, parse: 1, url: kurl };
}
`,
limit: 9,
double: false,
推荐: '*',
一级: 'li.col-lg-2;a:eq(0)&&title;.lazyload&&data-original;p&&Text;a:eq(0)&&href',
二级: `js:
let html = request(input);
VOD = {};
VOD.vod_id = input;
VOD.vod_name = pdfh(html, '.info&&h3&&Text');
VOD.vod_pic = pd(html, 'img&&data-original', input);
VOD.type_name = pdfh(html, 'p.row&&span:eq(0)&&Text').replace('分类:','');
VOD.vod_remarks = pdfh(html, 'p.row&&span:eq(-1)&&Text');
VOD.vod_year = pdfh(html, 'p.row&&span:eq(2)&&Text').replace('年份:','');
VOD.vod_area = pdfh(html, 'p.row&&span:eq(1)&&Text').replace('地区:','');
VOD.vod_actor = pdfh(html, 'p.row&&span:eq(-2)&&Text').replace('主演:','');
VOD.vod_director = pdfh(html, 'p.row&&span:eq(-3)&&Text').replace('导演:','');
VOD.vod_content = pdfh(html, '.pb-10&&Text');
let ktabs = pdfa(html,'.ewave-tab').map((it) => { return pdfh(it, 'body&&Text') });
VOD.vod_play_from = ktabs.join('$$$');
let klists = [];
pdfa(html, '.ewave-playlist-content').forEach((pl) => {
let klist = pdfa(pl, 'body&&a').map((it) => {
return pdfh(it, 'a&&Text') + '$' + pd(it, 'a&&href', input);
});
klist = klist.join('#');
klists.push(klist)
});
VOD.vod_play_url = klists.join('$$$')
`,
搜索: '*',
filter: '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'
}

51
JN/dr_py/js/98影院.js Normal file
View File

@ -0,0 +1,51 @@
var rule = {
author: '小可乐/240701/第一版',
title: '98影院',
类型: '影视',
host: 'http://www.98dyb.com',
hostJs: '',
headers: {'User-Agent': 'MOBILE_UA'},
编码: 'utf-8',
timeout: 5000,
homeUrl: '/',
url: '/fyfilter/indexfypage.html[/fyfilter/index.html]',
filter_url: '{{fl.cateId}}',
detailUrl: '',
searchUrl: '/search.php?page=fypage&searchword=**&searchtype=',
searchable: 1,
quickSearch: 1,
filterable: 1,
class_name: '电影&剧集&综艺&动漫&短剧',
class_url: 'dianyingpian&dianshiju&zongyi&dongman&duanju',
filter_def: {
dianyingpian: {cateId: 'dianyingpian'},
dianshiju: {cateId: 'dianshiju'},
zongyi: {cateId: 'zongyi'},
dongman: {cateId: 'dongman'},
duanju: {cateId: 'duanju'}
},
play_parse: true,
lazy: `js: input = { jx: 0, parse: 1, url: input }`,
limit: 9,
double: false,
推荐: '*',
一级: '.lazyload;a&&title;a&&data-original;.text-right&&Text;a&&href',
二级: {
title: 'h1&&Text;.data--span:eq(-1)&&Text',
img: 'a.v-thumb&&data-original',
desc: '.data:eq(0)&&Text;.data:eq(-1)&&a:eq(-1)&&Text;.data:eq(-1)&&a:eq(-2)&&Text;.data--span:eq(2)&&Text;.data--span:eq(1)&&Text',
content: '.detail-content:eq(0)&&Text',
tabs: '.bottom-line:has(span) h3',
tab_text: 'body&&Text',
lists: '.stui-content__playlist:eq(#id)&&a',
list_text: 'body&&Text',
list_url: 'a&&href',
},
搜索: '.v-thumb;*;*;*;*',
filter: 'H4sIAAAAAAAAA63Q3U7CMBQH8Ps9Rq/3BLyBz0C4OEKzdkDnBzWyZYmEEJkmflyIJhK9MpvGRLnTkfk0axvegpKhXbn2qjntr//T08hBHQpsSJl3oFfUaDoR6uIhaqA2DPBeB7mIQR/rWi2W4ulS1yfQ43qjGSHtkZhkq3G22daFlRW7W3GRlcVcJee/KGBeyAPLqOlCjifGAD3cjVHprfheGtLFhAOziBzdyLNZjehO+9wm04cyTwwJCbCQ4N0nz+YiSY06pb4do/I3UdwZ4NOeDfR1ayCfm4FasdNyq48/Jjr5P369Cvrr/liUearfsBUeD9rAakB+fYjrzxoA5g2gHiHfU/VzZUTA+9g6v39ZPb+a8yNKqg6b6Zx4DZRfhxRZAgAA'
}

26
JN/dr_py/js/BT影视.js Normal file
View File

@ -0,0 +1,26 @@
var rule = {
title: 'BT影视',
host: 'https://www.btbtl.com/',
url: '/type/fyclass/fypage/',
searchUrl: '/search/**',
searchable: 2,
quickSearch: 0,
filterable: 0,
class_parse: '.nav-menu-items&&li;a&&Text;a&&href;.*/(.*?)/',
play_parse: true,
lazy: "",
limit: 6,
double: true,
推荐: '.module-list;.module-items&&.module-item;a&&title;img&&data-src;.video-class&&Text;a&&href',
一级: '.module-items .module-item;a&&title;img&&data-src;.module-item-caption&&Text;a&&href',
二级: {
title: 'h1&&Text;.tag-link&&Text',
img: '.module-item-pic&&img&&data-src',
desc: '.video-info-items:eq(3)&&Text;.tag-link:eq(2)&&Text;.tag-link:eq(1)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(0)&&Text',
content: '.vod_content&&Text',
tabs: '.module-tab-item',
lists: '.module-player-list:eq(#id)&&a',
tab_text: 'div--small&&Text',
},
搜索: '.module-item;a&&title;img&&data-src;.video-class&&Text;a&&href',
}

View File

@ -0,0 +1,54 @@
var rule = {
类型:'影视',//影视|听书|漫画|小说
title:'M1949电影',
host:'https://sosexxx.com/',
url:'/index.php/vod/type/id/fyclass/page/fypage.html',
searchUrl:'/index.php/vod/search.html?wd=**',
searchable:2,
quickSearch:0,
filterable:1,
filter:'',
filter_url:'',
filter_def:{},
headers:{
'User-Agent':'MOBILE_UA',
},
timeout:5000,
class_parse:'.swiper-wrapper a:gt(0):lt(5);a&&Text;a&&href;.*/(.*?).html',
cate_exclude:'',
play_parse:true,
lazy: $js.toString(() => {
let html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
let url = html.url;
if (html.encrypt == '1') {
url = unescape(url)
} else if (html.encrypt == '2') {
url = unescape(base64Decode(url))
}
if (/\.m3u8|\.mp4/.test(url)) {
input = {
jx: 0,
url: url,
parse: 0
}
} else {
input
}
}),
double:true,
推荐: '*',
一级:'.row li;a&&title;.pic .lazyload&&data-original;.item-status.text-overflow&&Text;a&&href',
二级:{
title:'h3&&a&&Text',
img:'.pic .lazyload&&data-original',
desc:'.row&&Text;..col-sm-6:eq(3)&&TExt;.col-xs-12.col-sm-6:eq(1)&&TExt;',
content:'.text.text-row&&Text',
tabs:'.playlist-tab li',
lists:'.ewave-playlist-content:eq(#id)&&li',
tab_text:'body&&Text',
list_text:'body&&Text',
list_url:'a&&href',
list_url_prefix: '',
},
搜索:'*',
}

View File

@ -0,0 +1,31 @@
var rule = {
title: '畅享影音',
host: 'https://cxyy.xyz',
searchUrl: '/index.php/vod/search/page/fypage/wd/**.html',
url: '/index.php/vod/show/id/fyclass/page/fypage.html',
headers: {
'User-Agent': 'MOBILE_UA',
},
timeout: 5000,
class_parse: 'body&&.hl-nav li:gt(0);a&&Text;a&&href;.*/(.*?).html',
cate_exclude: '明星|专题|最新|排行',
limit: 40,
play_parse: true,
lazy: "js:\n let html = request(input);\n let hconf = html.match(/r player_.*?=(.*?)</)[1];\n let json = JSON5.parse(hconf);\n let url = json.url;\n if (json.encrypt == '1') {\n url = unescape(url);\n } else if (json.encrypt == '2') {\n url = unescape(base64Decode(url));\n }\n if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {\n input = {\n parse: 0,\n jx: 0,\n url: url,\n };\n } else {\n input;\n }",
double: true,
推荐: '.hl-vod-list;li;a&&title;a&&data-original;.remarks&&Text;a&&href',
一级: '.hl-vod-list&&.hl-list-item;a&&title;a&&data-original;.remarks&&Text;a&&href',
二级: {
title: '.hl-dc-title&&Text;.hl-dc-content&&li:eq(6)&&Text',
img: '.hl-lazy&&data-original',
desc: '.hl-dc-content&&li:eq(1)--em&&Text;.hl-dc-content&&li:eq(4)&&Text;.hl-dc-content&&li:eq(5)&&Text;.hl-dc-content&&li:eq(2)&&Text;.hl-dc-content&&li:eq(3)&&Text',
content: '.hl-content-text&&Text',
tabs: '.hl-tabs&&a',
tab_text: 'a--span&&Text',
lists: '.hl-plays-list:eq(#id)&&li',
},
搜索: '.hl-list-item;a&&title;a&&data-original;.remarks&&Text;a&&href',
searchable: 2,
quickSearch: 0,
filterable: 0,
}

View File

@ -0,0 +1,54 @@
var rule = {
author: '小可乐/240701/第一版',
title: '疯狗电影',
类型: '影视',
host: 'https://m.itvbox3.com',
hostJs: '',
headers: {'User-Agent': 'MOBILE_UA'},
编码: 'utf-8',
timeout: 5000,
homeUrl: '/',
url: '/list-select-id-fyclass-fyfilter-p-fypage.html',
filter_url: 'type-{{fl.class}}-area-{{fl.area}}-year-{{fl.year}}-star--state--order-{{fl.by or "addtime"}}',
detailUrl: '',
searchUrl: '/vod-search-wd-**-p-fypage.html',
searchable: 1,
quickSearch: 1,
filterable: 1,
class_name: '电影&剧集&综艺&动漫',
class_url: '1&2&4&3',
filter_def: {},
play_parse: true,
lazy: `js:
let kcode = JSON.parse(request(input).match(/var cms_player=(.*?);</)[1]);
let kjx = kcode.jiexi;
let kurl = kcode.url;
if (/\\.(m3u8|mp4)/.test(kurl)) {
input = { jx: 0, parse: 0, url: kurl };
} else {
input = { jx: 0, parse: 1, url: kjx+kurl };
}
`,
limit: 9,
double: false,
推荐: '*',
一级: '.col-xs-4 .image;img&&alt;img&&data-original;.continu&&Text;a&&href',
二级: {
title: 'h2:eq(0)&&a&&Text;dl&&dd:eq(2)&&Text',
img: '.media-left&&img&&data-original',
desc: 'h2:eq(0)&&span&&Text;dl&&dd:eq(-2)&&Text;dl&&dd:eq(-3)&&Text;dl&&dd:eq(0)&&Text;dl&&dd:eq(1)&&Text',
content: '.vod-nav-content&&Text',
tabs: 'h2:has(.glyphicon-facetime-video)',
tab_text: 'body&&Text',
lists: '.ff-playurl:eq(#id)&&a',
list_text: 'body&&Text',
list_url: 'a&&href',
},
搜索: '*',
filter: 'H4sIAAAAAAAAA+2YW28aRxTH3/kY++xKuzgXk68S5YE2lho1jao4qWRZlrAJBFOHmxywy/pWX+MaB2ziwlLgy+zMwrfowJzLoDYrVLlpHnjjd87OmTlnmP+Z3ZWI5ViPHkdWrB8Wl61H1nfP40tL1pz1Iv7jokKxcSaTKcU/x5+/VobHK9aLkTl1Pkyej8wKrNU5sJZd9TxYAdAXZBoQiAF9cq0gE2XwAVDM7LnfdTGmBop5VhTtDsbUQONo4Qw0X2bb9zZwPg3oG9ROxeYF+ABovuzHoIs+AGOdwVaH1zkC8p285XUC0Fpqp37vANeigcalS8OdDzhOA43bu1Arx3EayLd+GZSL6NNAvmRWrv+KPg2UXycvUi3MTwP6hrsluX0CPgCKWX472PAwpgbKoXcVbH0S3QamQUxP5I8HR7RTGsiXS4v8Nfo00E71C6rOuFMauHKu3C1S5cZAvjf94HfMBIAq0C0GHXdiwROm1Serc3RU4i8X48ZJceti05v2pKRT6nla3xhoDb2cqHZxdg20C6c7svURd0ED17Eu2z2q4xho3P4HjglAu1c5ke4l7p4G8t2853EAVP9fGuwD4F3/g30AHLNuxqxPjHtXF94pjtNA4y7PZBP/CwDo81uueFfxPfxjM1Pk1K3fQY0BmNjN5cX4S95NWbkdVppT7mbUjt4D2/inYZ9n+7xpj7I9atodtjum3Wa7bdidGNnVT8O+wPYF0/6Q7Q9N+wO2PzDt99l+37Rzvo6Zr8P5Oma+DufrmPk6nK9j5uvY30Rtm5O27ZGNHojZot30O0fgd2IxlX6MCyCrTVlB4XQWbOVdiE1u97fLxmbnSsLL/22zpZsY9ItBsiZLNYj1/bNXSzyLm5Dlut/Kym0U8PjTp6+eqZh0ltfbg0976kFxjH/N1z+NFhJ5MhexonfWeEMkNKzZaR0Xa7cimZ+QdjBN09jF1a3wsD4AUzbMzzb2sIYZ1tjD2kVYc/Pbh9wuALhhpuQOSi4Azfc+zU0YwGglXDOAqcXoP2otYW3g37aWsPYR1srC2kBYa1FHTmQPxO4h3TeQZ1I/k/qvVerv3ZXUDxMbwVkCj6kGU6re7BtSpYCO1FV/UM/gkdJA40o1mcUbMQAf75RsoWwCsJzc+O0CyckYjKM/PMK1AJDPuxBXe+jTwPt5bbxLaKBxW/uySe97GmhcqyUzed8r8TvBhInq0PxNiT/WQQPFaKwP1jZxtIYvIctKapWo0qrHYMirEmqW1xEYN2JVWb4Rj2AmdDOh+z+Fbv6uhC5MzMI+/KjcBocokAAUM3ceFNIYUwP5CnvBJX000cCH9/MfYgaF3UEO79cAFPPgUFSxzgDT3H+l6xkfdzRM89kj7K4v6qpMTZxPg+k7uTF8Cqiexz3/T9xoAL5v74tMle7bY6A7tXctatgcAChmNSt3UOQBuC4N0a9QXcbwRe7N1a7v0TuOhmnuuP8owrOb6Eygv0aBjqz+BQJ/H07wFwAA'
}

30
JN/dr_py/js/看剧网.js Normal file
View File

@ -0,0 +1,30 @@
var rule = {
title: '看剧网',
host: 'https://www.kanjuw.net',
url: '/list/?fyclass-fypage.html',
searchUrl: '/search.php?page=fypage&searchword=**&searchtype=',
searchable: 2,
quickSearch: 0,
filterable: 0,
headers: {
'User-Agent': 'PC_UA',
},
class_name: '电影&剧集&综艺&动漫',
class_url: '1&2&3&4',
play_parse: true,
lazy: "js:\n let html = request(input);\n let hconf = html.match(/r player_.*?=(.*?)</)[1];\n let json = JSON5.parse(hconf);\n let url = json.url;\n if (json.encrypt == '1') {\n url = unescape(url);\n } else if (json.encrypt == '2') {\n url = unescape(base64Decode(url));\n }\n if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {\n input = {\n parse: 0,\n jx: 0,\n url: url,\n };\n } else {\n input = url && url.startsWith('http') && tellIsJx(url) ? {parse:0,jx:1,url:url}:input;\n }",
limit: 6,
double: true,
推荐: 'ul.myui-vodlist.clearfix;li;a&&title;img&&data-original;.pic-text&&Text;a&&href',
double: true,
一级: '.myui-vodlist li;a&&title;img&&data-original;.pic-text.text-right&&Text;a&&href',
二级: {
title: '.myui-content__detail .title--span&&Text;.myui-content__detail p.data:eq(3)&&Text',
img: '.myui-content__thumb .lazyload&&data-original',
desc: '.myui-content__detail p.otherbox&&Text;.year&&Text;.myui-content__detail p.data:eq(4)&&Text;.myui-content__detail p.data:eq(2)&&Text;.myui-content__detail p.data:eq(0)&&Text',
content: '.desc.text-collapse&&span:eq(1)&&Text',
tabs: '.nav-tabs:eq(0) li',
lists: '.myui-content__list:eq(#id) li',
},
搜索: '#searchList li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href;.detail&&Text',
}

View File

@ -0,0 +1,36 @@
var rule = {
title:'胖虎小站',
host:'https://www.panghuys.site/',
class_name: '电影&剧集&综艺&动漫',
class_url: '1&2&3&4',
searchUrl:'/phsch/page/fypage/wd/**.html',
searchable: 2,
quickSearch: 0,
headers: {
'User-Agent': 'MOBILE_UA',
},
url:'/vodshow/fyclass/page/fypage.html',
filterable: 0,
filter_url: '',
filter: {},
filter_def: {},
detailUrl: '/index.php/vod/detail/id/fyid.html',
play_parse: true,
lazy: "js:\n let html = request(input);\n let hconf = html.match(/r player_.*?=(.*?)</)[1];\n let json = JSON5.parse(hconf);\n let url = json.url;\n if (json.encrypt == '1') {\n url = unescape(url);\n } else if (json.encrypt == '2') {\n url = unescape(base64Decode(url));\n }\n if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {\n input = {\n parse: 0,\n jx: 0,\n url: url,\n };\n } else {\n input = url && url.startsWith('http') && tellIsJx(url) ? {parse:0,jx:1,url:url}:input;\n }",
limit: 6,
推荐: '*',
一级:'.row li;a&&title;.pic .lazyload&&data-original;.item-status.text-overflow&&Text;a&&href',
二级:{
title:'h3&&a&&Text',
img:'.pic .lazyload&&data-original',
desc:'.row&&Text;..col-sm-6:eq(3)&&TExt;.col-xs-12.col-sm-6:eq(1)&&TExt;',
content:'.text.text-row&&Text',
tabs:'.playlist-tab li',
lists:'.ewave-playlist-content:eq(#id)&&li',
tab_text:'body&&Text',
list_text:'body&&Text',
list_url:'a&&href',
list_url_prefix: '',
},
搜索:'*',
}

View File

@ -0,0 +1,36 @@
var rule = {
title: '蝴蝶影视',
host: 'https://www.tqpipa.com', // homeUrl:'/',
url: '/vodshow/fyclass--------fypage---.html',
searchUrl: '/vodsearch/**----------fypage---.html',
searchable: 2, //是否启用全局搜索,
quickSearch: 0, //是否启用快速搜索,
filterable: 0, //是否启用分类筛选,
headers: { //网站的请求头,完整支持所有的,常带ua和cookies
'User-Agent': 'MOBILE_UA', // "Cookie": "searchneed=ok"
},
class_parse: '.navbar-items li;a&&Text;a&&href;.*/(.*?)/',
cate_exclude: '今日更新|热榜|直播',
play_parse: true,
lazy:`js:
input = {
parse: 1,
url: input,
js: ''
};
`,
limit: 6,
double: true, // 推荐内容是否双层定位
推荐: '.tab-list.active;a.module-poster-item.module-item;.module-poster-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href',
一级: 'body a.module-poster-item.module-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
二级: {
title: 'h1&&Text;.module-info-tag-link:eq(-1)&&Text',
img: '.lazyload&&data-original||data-src||src',
desc: '.module-info-item:eq(-2)&&Text;.module-info-tag-link&&Text;.module-info-tag-link:eq(1)&&Text;.module-info-item:eq(2)&&Text;.module-info-item:eq(1)&&Text',
content: '.module-info-introduction&&Text',
tabs: '.module-tab-item',
lists: '.module-play-list:eq(#id) a',
tab_text: 'div--small&&Text',
},
搜索: 'body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text',
}