mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 19:44:54 +08:00
25 lines
1.2 KiB
JavaScript
25 lines
1.2 KiB
JavaScript
|
var rule = {
|
||
|
title:'乐鱼影视',
|
||
|
host:'https://www.leyupro.com',
|
||
|
// homeUrl:'/',
|
||
|
url:'/lys/fyclass/page/fypage.html',
|
||
|
searchUrl:'/lyso/page/fypage/wd/**.html',
|
||
|
searchable:2,//是否启用全局搜索,
|
||
|
quickSearch:0,//是否启用快速搜索,
|
||
|
filterable:0,//是否启用分类筛选,
|
||
|
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
||
|
'User-Agent':'MOBILE_UA',
|
||
|
// "Cookie": "searchneed=ok"
|
||
|
},
|
||
|
class_name:'电影&电视剧&综艺&动漫&纪录片',
|
||
|
class_url:'lyMovie&lyTv&lyVariety&lyCartoon&lydocumentary',
|
||
|
play_parse:true,
|
||
|
lazy:'',
|
||
|
limit:6,
|
||
|
推荐:'.listwap;.gcol;a&&title;.inlist&&data-original;.module-item-note&&Text;a&&href',
|
||
|
double:true, // 推荐内容是否双层定位
|
||
|
一级:'.gcol;a&&title;.inlist&&data-original;.module-item-note&&Text;a&&href',
|
||
|
二级:{"title":"h1&&Text;.detailinfo&&p:eq(7)&&Text","img":".detailpic&&img&&src","desc":".module-info-content&&.module-info-item:eq(-2)&&Text;.detailinfo&&p:eq(-8)&&Text;.detailinfo&&p:eq(5)&&Text;.album-title&&Text;.detailinfo&&p:eq(1)&&Text","content":".tjuqing&&Text","tabs":".yunplay&&.downtitle&&ul li","lists":".videolist:eq(#id) a"},
|
||
|
搜索:'.search;a&&title;img&&src;.list&&Text;a&&href',
|
||
|
}
|