49 lines
2.3 KiB
JavaScript
49 lines
2.3 KiB
JavaScript
var rule = {
|
||
|
||
title: '短剧TV',
|
||
host: 'https://www.duanjutv.icu',
|
||
url: '/vodshow/fyclassfyfilter.html',
|
||
filterable:1,//是否启用分类筛选,
|
||
filter_url:'-{{fl.area}}-{{fl.by or "time"}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}',
|
||
filter: {
|
||
"duanjuTV":[
|
||
{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},
|
||
{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
|
||
},
|
||
class_name:'关注公众号:东方精英汇,获取最新4K接口。以下为东辰影视短剧',//静态分类名称拼接
|
||
class_url:'duanjuTV',//静态分类标识拼
|
||
|
||
play_parse: true,
|
||
limit: 6,
|
||
推荐: '.module-list;.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
|
||
double: true, // 推荐内容是否双层定位
|
||
一级: '.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
|
||
二级: {
|
||
"title": "h1&&Text;.tag-link&&Text",
|
||
"img": ".module-item-pic&&img&&data-src",
|
||
"desc": ".video-info-items:eq(0)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(2)&&Text;.video-info-items:eq(3)&&Text",
|
||
"content": ".vod_content&&Text",
|
||
"tabs": ".module-tab-content&&.module-tab-item",
|
||
"lists": ".module-player-list:eq(#id)&&.scroll-content&&a"
|
||
},
|
||
lazy: `js:
|
||
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
|
||
var 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
|
||
}
|
||
`,
|
||
searchUrl:'/index.php/ajax/suggest?mid=1&wd=**&limit=50',
|
||
detailUrl:'/voddetail/fyid.html', //非必填,二级详情拼接链接
|
||
搜索:'json:list;name;pic;en;en',
|
||
}
|
||
/*
|
||
|
||
*/ |