Add files via upload
This commit is contained in:
parent
32229a7281
commit
d25dd74c4c
1056
JN/dr_py/js/cntv央视.py
Normal file
1056
JN/dr_py/js/cntv央视.py
Normal file
File diff suppressed because it is too large
Load Diff
68
JN/dr_py/js/天龙影院.js
Normal file
68
JN/dr_py/js/天龙影院.js
Normal file
@ -0,0 +1,68 @@
|
||||
var rule = {
|
||||
author: '小可乐/240701/第一版',
|
||||
title: '天龙影院',
|
||||
类型: '影视',
|
||||
host: 'https://m.82mao.com',
|
||||
hostJs: '',
|
||||
headers: {'User-Agent': 'MOBILE_UA'},
|
||||
编码: 'utf-8',
|
||||
timeout: 5000,
|
||||
homeUrl: '/',
|
||||
url: '/List/fyfilter.html',
|
||||
filter_url: '{{fl.cateId}}-{{fl.area}}-{{fl.by}}-{{fl.class}}--{{fl.letter}}---fypage---{{fl.year}}',
|
||||
detailUrl: '',
|
||||
searchUrl: '/Search/**----------fypage---.html',
|
||||
searchable: 1,
|
||||
quickSearch: 0,
|
||||
filterable: 1,
|
||||
|
||||
class_name: '电影&剧集&综艺&动漫',
|
||||
class_url: '17&18&20&48',
|
||||
filter_def: {
|
||||
17: {cateId: '17'},
|
||||
18: {cateId: '18'},
|
||||
20: {cateId: '20'},
|
||||
48: {cateId: '48'}
|
||||
},
|
||||
|
||||
play_parse: true,
|
||||
parse_url: 'http://cdn.113276.xyz/cs1/?id=',
|
||||
lazy: `js:
|
||||
var kcode = JSON.parse(request(input).match(/var player_.*?=(.*?)</)[1]);
|
||||
var kurl = kcode.url;
|
||||
if (/m3u8|mp4/.test(kurl)) {
|
||||
input = { jx: 0, parse: 0, url: kurl }
|
||||
} else {
|
||||
input = { jx: 0, parse: 1, url: rule.parse_url+kurl }
|
||||
}`,
|
||||
|
||||
limit: 9,
|
||||
double: false,
|
||||
推荐: '*',
|
||||
一级: '.list-item;h3&&Text;img&&src;span:eq(0)&&Text;a&&href',
|
||||
二级: {
|
||||
//名称;类型
|
||||
title: '.bread&&Text;.info--label:eq(2)&&Text',
|
||||
//图片
|
||||
img: '.pic&&img&&src',
|
||||
//主要描述;年份;地区;演员;导演
|
||||
desc: '.info--label:eq(-2)&&Text;.info--label:eq(-1)&&Text;.info--label:eq(2)&&a:eq(-1)&&Text;.info--label:eq(1)&&Text;.info--label:eq(0)&&Text',
|
||||
//简介
|
||||
content: '.detail-intro:eq(-1)&&p&&Text',
|
||||
//线路数组
|
||||
tabs: 'li.tab-item',
|
||||
//线路标题
|
||||
tab_text: 'font--i:eq(0)&&Text',
|
||||
//播放数组 选集列表
|
||||
lists: '.series-list:eq(#id)&&a',
|
||||
//选集标题
|
||||
list_text: 'body&&Text',
|
||||
//选集链接
|
||||
list_url: 'a&&href',
|
||||
//链接处理
|
||||
list_url_prefix: ''
|
||||
},
|
||||
搜索: '*',
|
||||
|
||||
filter: {}
|
||||
}
|
@ -10,8 +10,10 @@ globalThis.getRandomItem = function (items) {//从列表随机取出一个元素
|
||||
var rule = {
|
||||
title: '采集之王[合]',
|
||||
author: '道长',
|
||||
version: '20240624 beta9',
|
||||
version: '20240703 beta10',
|
||||
update_info: `
|
||||
20240703:
|
||||
1.采集json支持"searchable": 0,用于搜索时排除这个源
|
||||
20240604:
|
||||
1.首页推荐取消硬控等待。增加随机推荐功能。
|
||||
2.首页推荐新增更新日志查看功能
|
||||
@ -84,6 +86,7 @@ var rule = {
|
||||
type_name: it.name,
|
||||
type_id: it.url,
|
||||
parse_url: it.parse_url || '',
|
||||
searchable: it.searchable !== 0,
|
||||
api: it.api || '',
|
||||
cate_exclude: it.cate_exclude || '',
|
||||
// class_name: it.class_name || '',
|
||||
@ -233,9 +236,10 @@ var rule = {
|
||||
搜索: $js.toString(() => {
|
||||
VODS = [];
|
||||
if (rule.classes) {
|
||||
let canSearch = rule.classes.filter(it => it.searchable);
|
||||
let page = Number(MY_PAGE);
|
||||
page = (MY_PAGE - 1) % Math.ceil(rule.classes.length / rule.search_limit) + 1;
|
||||
let truePage = Math.ceil(MY_PAGE / Math.ceil(rule.classes.length / rule.search_limit));
|
||||
page = (MY_PAGE - 1) % Math.ceil(canSearch.length / rule.search_limit) + 1;
|
||||
let truePage = Math.ceil(MY_PAGE / Math.ceil(canSearch.length / rule.search_limit));
|
||||
if (rule.search_limit) {
|
||||
let start = (page - 1) * rule.search_limit;
|
||||
let end = page * rule.search_limit;
|
||||
@ -245,8 +249,8 @@ var rule = {
|
||||
log('end:' + end);
|
||||
log('搜索模式:' + searchMode);
|
||||
// log('t1:' + t1);
|
||||
if (start < rule.classes.length) {
|
||||
let search_classes = rule.classes.slice(start, end);
|
||||
if (start < canSearch.length) {
|
||||
let search_classes = canSearch.slice(start, end);
|
||||
let urls = [];
|
||||
search_classes.forEach(it => {
|
||||
let _url = urljoin(it.type_id, input);
|
||||
|
16
JN/dr_py/js/飞鱼影视.js
Normal file
16
JN/dr_py/js/飞鱼影视.js
Normal file
@ -0,0 +1,16 @@
|
||||
Object.assign(muban.mx.二级, {
|
||||
重定向: $js.toString(() => {
|
||||
log('执行重定向:' + MY_URL);
|
||||
// let html = request(MY_URL);
|
||||
MY_URL = pd(html, '.playbtn&&a&&href', MY_URL);
|
||||
log('二级重定向到:' + MY_URL);
|
||||
html = request(MY_URL);
|
||||
}),
|
||||
});
|
||||
var rule = {
|
||||
模板: 'mx',
|
||||
title: '飞鱼影视',
|
||||
host: 'https://www.kufeiyu.com',
|
||||
class_parse: '.top_nav li;a&&Text;a&&href;/(\\d+).html',
|
||||
url: '/list/fyclass-fypage.html',
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user