ddys.js 1.2 KB
Newer Older
H
hjdhnx 已提交
1 2 3 4
var rule={
    title:'ddys',
    host:'https://ddys.tv',
    // homeUrl:'/',
5 6
    url:'/fyclass/page/fypage/',
    searchUrl:'/?s=**&post_type=post',
H
hjdhnx 已提交
7 8 9 10 11 12 13
    searchable:2,//是否启用全局搜索,
    quickSearch:0,//是否启用快速搜索,
    filterable:0,//是否启用分类筛选,
    headers:{//网站的请求头,完整支持所有的,常带ua和cookies
        'User-Agent':'MOBILE_UA',
        // "Cookie": "searchneed=ok"
    },
14 15 16 17
    // class_name:'电影&剧集&动画',
    // class_url:'movie&airing&anime',
    class_parse:'#primary-menu li.menu-item;a&&Text;a&&href;\.tv/(.*)',
    cate_exclude:'站长|^其他$|关于|^电影$|^剧集$|^类型$',
H
hjdhnx 已提交
18 19 20 21 22 23
    play_parse:true,
    lazy:'',
    limit:6,
    //推荐:'.indexShowBox;ul&&li;a&&title;img&&data-src;.s1&&Text;a&&href',
    double:true, // 推荐内容是否双层定位
    一级:'.post-box-list&&article;a:eq(-1)&&Text;.post-box-image&&style;a:eq(0)&&Text;a:eq(-1)&&href',
24 25 26
    二级:{"title":".post-title&&Text;.cat-links&&Text","img":".doulist-item&&img&&data-cfsrc","desc":".published&&Text","content":".abstract&&Text","tabs":".py-tabs&&option","lists":".player:eq(#id) li"},
    搜索:'#main&&article;.post-title&&Text;;.published&&Text;a&&href',
    推荐:'*'
H
hjdhnx 已提交
27
}