剧荒TV.js 1.5 KB
Newer Older
H
hjdhnx 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
var rule = {
    title:'剧荒TV',
    host:'https://juhuang.tv',
    // homeUrl:'/',
    url:'/type/fyclass_type_fypage.html[/type/fyclass_type.html]',
    searchable:2,
    quickSearch:0,
    filterable:0,
    headers:{'User-Agent':'MOBILE_UA', },
    class_name:'电视剧&电影&综艺&动漫&纪录片&Youtube精选',//静态分类名称拼接
    class_url:'2&1&3&4&21&28',//静态分类标识拼接
    play_parse:true,
    lazy:'',
    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;.video-info-aux&&div&&a:eq(0)&&Text",
    	"img":".module-item-pic&&img&&data-src",
    	"desc":";.video-info-aux&&a:eq(1)&&Text;.video-info-aux&&a:eq(2)&&Text;.video-info-items:eq(1) a&&Text;.video-info-items:eq(0) a&&Text",
    	// "content":".video-info-content&&Text",
    	"content":".sqjj_a&&Text",
    	"tabs":".module-tab-title",
    	"lists":".module-blocklist&&.sort-item a"
	},

    // searchUrl:'https://so.juhuang.tv/?s=**',
    searchUrl:'https://so.juhuang.tv/soapi.php?wd=**',
    detailUrl:'https://juhuang.tv/play/fyid_play_1_1.html', //非必填,二级详情拼接链接
    // 搜索:'.module-items .module-search-item;a&&title;img&&data-src;.video-serial&&Text;a&&href',
    搜索:'json:list;vod_name;vod_pic;vod_year;vod_id',
}