23 lines
1.2 KiB
JavaScript
23 lines
1.2 KiB
JavaScript
var rule={
|
|
title:'69美剧',
|
|
host:'https://www.69mj.com',
|
|
// homeUrl:'/',
|
|
url:'/index.php/vod/show/by/time/id/fyclass/page/fypage/year/2022.html',
|
|
searchUrl:'/index.php/vod/search.html?wd=**',
|
|
searchable:2,//是否启用全局搜索,
|
|
quickSearch:1,//是否启用快速搜索,
|
|
filterable:0,//是否启用分类筛选,
|
|
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
|
'User-Agent':'MOBILE_UA',
|
|
// "Cookie": "searchneed=ok"
|
|
},
|
|
class_parse:'.nav-menu-items&&li;a&&Text;a&&href;/(\\d+).html',
|
|
play_parse:true,
|
|
lazy:'',
|
|
limit:6,
|
|
推荐:'.module-list;&&.module-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
|
|
double:true, // 推荐内容是否双层定位
|
|
一级:'.module&&.module-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
|
|
二级:{"title":"h1&&Text;.tag-link&&span&&Text","img":".lazyload&&data-src","desc":".scroll-box:eq(0)&&Text;.scroll-box:eq(1)&&Text;.scroll-box:eq(2)&&Text;.scroll-box:eq(3)&&Text","content":".vod_content&&Text","tabs":".module-tab-content&&div","lists":".sort-item:eq(#id) a"},
|
|
搜索:'.module&&.module-search-item;h3&&Text;.lazyload&&data-src;.video-serial&&Text;a&&href',
|
|
} |