From 2541aaf30f17195628a247e49b9bdfee9853fa85 Mon Sep 17 00:00:00 2001 From: zzzlllmmm1 Date: Thu, 20 Oct 2022 11:55:55 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20'js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/海兔影院.js | 50 +++++++++++++++++++++++++------------------------- js/电影大师.js | 7 +++++++ 2 files changed, 32 insertions(+), 25 deletions(-) create mode 100644 js/电影大师.js diff --git a/js/海兔影院.js b/js/海兔影院.js index 40038d8..b7b3d79 100644 --- a/js/海兔影院.js +++ b/js/海兔影院.js @@ -1,25 +1,25 @@ -var rule = { - title:'海兔影院', - host:'https://www.haitu.tv', - // homeUrl:'/', - url:'/vod/show/id/fyclass/page/fypage.html', - searchUrl:'/vod/search/page/fypage/wd/**.html', - searchable:2,//是否启用全局搜索, - quickSearch:0,//是否启用快速搜索, - filterable:0,//是否启用分类筛选, - headers:{//网站的请求头,完整支持所有的,常带ua和cookies - 'User-Agent':'MOBILE_UA', - // "Cookie": "searchneed=ok" - }, - class_parse:'.nav-menu-items&&li;a&&title;a&&href;/(\\d+).html', - //class_name:'电影&电视剧&综艺&动漫&纪录片', - //class_url:'1&2&3&4&55', - play_parse:true, - lazy:'', - limit:6, - 推荐:'.module-item;.module-item-cover&&.module-item-pic;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href', - double:true, // 推荐内容是否双层定位 - 一级:'.module-list&&.module-item;.module-item-pic&&a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href', - 二级:{"title":"h1.page-title&&Text;.video-info-aux&&Text","img":".lazyload&&data-src","content":".video-info-item.video-info-content.vod_content&&Text","tabs":".module-tab-item.tab-item","lists":".module-blocklist.scroll-box:eq(#id) a"}, - -} +var rule = { + title:'海兔影院', + host:'https://www.haitu.tv', + // homeUrl:'/', + url:'/vod/show/id/fyclass/page/fypage.html', + searchUrl:'/vod/search/page/fypage/wd/**.html', + searchable:2,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + filterable:0,//是否启用分类筛选, + headers:{//网站的请求头,完整支持所有的,常带ua和cookies + 'User-Agent':'MOBILE_UA', + // "Cookie": "searchneed=ok" + }, + class_parse:'.nav-menu-items&&li;a&&title;a&&href;/(\\d+).html', + //class_name:'电影&电视剧&综艺&动漫&纪录片', + //class_url:'1&2&3&4&55', + play_parse:true, + lazy:'', + limit:6, + 推荐:'.module-item;.module-item-cover&&.module-item-pic;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'.module-list&&.module-item;.module-item-pic&&a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href', + 二级:{"title":"h1.page-title&&Text;.video-info-aux&&Text","img":".lazyload&&data-src","content":".video-info-item.video-info-content.vod_content&&Text","tabs":".module-tab-item.tab-item","lists":".module-blocklist.scroll-box:eq(#id) a"}, + +} \ No newline at end of file diff --git a/js/电影大师.js b/js/电影大师.js new file mode 100644 index 0000000..0382d44 --- /dev/null +++ b/js/电影大师.js @@ -0,0 +1,7 @@ +var rule = Object.assign(muban.mxpro,{ +title:'电影大师', +host:'https://dyds8.cyou', +url:'/index.php/vod/type/id/fyclass/page/fypage.html', +searchUrl:'/index.php/vod/search/page/fypage/wd/**.html', +class_parse:'.dropdown.type.clearfix li:gt(2):lt(6);a&&Text;a&&href;.*/(.*?).html', +}); \ No newline at end of file