diff --git a/js/剧白白.js b/js/剧白白.js new file mode 100644 index 0000000..3ffef4f --- /dev/null +++ b/js/剧白白.js @@ -0,0 +1,7 @@ +var rule = Object.assign(muban.首图2,{ +title:'剧白白', +host:'https://jubaibai.cc', +url:'/vodshow/id/fyclass/page/fypage.html', +searchUrl:'/vodsearch**/page/fypage.html', +class_parse:'.stui-header__menu li:gt(0):lt(6);a&&Text;a&&href;/(.*?).html', +}); \ No newline at end of file diff --git a/js/剧荒.js b/js/剧荒.js new file mode 100644 index 0000000..7272b82 --- /dev/null +++ b/js/剧荒.js @@ -0,0 +1,27 @@ +var rule = { + title:'剧荒', + host:'https://www.juhuang.tv', + // homeUrl:'/', + url:'/type/fyclass_type_fypage.html', + searchUrl:'/s/**/fypage.html', + searchable:1, + quickSearch:1, + headers:{ + 'User-Agent':'UC_UA' + }, + timeout:5000, + class_name:'电视剧&电影&综艺&动漫',//静态分类名称拼接 + class_url:'2&1&3&4',//静态分类标识拼接 + //class_parse:'.drop-content-items li:gt(0):lt(7);.grid-item-name&&Text;a&&href', + play_parse:true, + lazy:'', + limit:5, + 推荐:'#movie-list-body;.movie-list-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + + 一级:'.module-item-pic&&a;a&&title;img&&data-src;.module-item-text&&Text;a&&href', + + + 二级:{"title":"h1.movie-title&&Text;.data:eq(1)&&Text","img":".poster img&&src","desc":".cr3.starLink&&Text","content":".detailsTxt&&Text","tabs":".play_source_tab a","lists":".content_playlist:eq(#id) a"}, + 搜索:'.vod-search-list;.movie-title&&Text;.Lazy&&data-original;.getop&&Text;a&&href;.getop:eq(-1)&&Text', +} \ No newline at end of file diff --git a/js/剧迷.js b/js/剧迷.js new file mode 100644 index 0000000..e9e219b --- /dev/null +++ b/js/剧迷.js @@ -0,0 +1,11 @@ +muban.首图.二级.tabs = '.myui-panel__head.bottom-line h3'; +var rule = Object.assign(muban.首图,{ +title:'剧迷', +host:'https://gmtv1.xyz', +url:'/genre/fyclass---fypage.html', +searchUrl:'/search/-------------.html?wd=*&submit=', +class_name:'电视剧&电影&综艺&动漫',//静态分类名称拼接 +class_url:'2&1&3&4',//静态分类标识拼接 +class_parse:'', +一级:'.myui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href', +}); diff --git a/js/干饭影视.js b/js/干饭影视.js new file mode 100644 index 0000000..5abee36 --- /dev/null +++ b/js/干饭影视.js @@ -0,0 +1,27 @@ +var rule = { + title:'干饭影视', + host:'https://www.gfysys.com/', + // homeUrl:'/', + url:'/vodtype/fyclass-fypage.html', + headers:{ + 'User-Agent':'MOBILE_UA', + "Cookie": "searchneed=ok" + }, + searchUrl:'/vodsearch/**----------fypage---.html', + searchable:2, + // class_name:'电影&网剧&剧集&动漫&综艺&记录', + // class_url:'20&1&2&3&4&23', + class_parse:'.stui-header__menu li:gt(0):lt(5);a&&Text;a&&href;/(\\d+).html', + play_parse:true, + // lazy:'干饭', + // lazy:'@js:cacheUrl = d.getParse(input);print(cacheUrl);input=cacheUrl', + // lazy:'js:cacheUrl = d.getParse(input);print(cacheUrl);input=cacheUrl', + // lazy:'js:cacheUrl=d.getParse(input);if(cacheUrl){input=cacheUrl}else{try{let html=fetch(input,{headers:d.headers,timeout:d.timeout,encoding:d.encoding});let ret=html.match(/var player_(.*?)=(.*?)10){real_url="https://player.buyaotou.xyz/?url="+url;d.saveParse(input,real_url);input=real_url}}catch(e){print("网络请求发生错误:"+e.message)}}', + lazy:'js:cacheUrl=getParse(input);if(cacheUrl){input=cacheUrl}else{try{let html=fetch(input,fetch_params);let ret=html.match(/var player_(.*?)=(.*?)10){real_url="https://player.buyaotou.xyz/?url="+url;saveParse(input,real_url);input=real_url}}catch(e){print("网络请求发生错误:"+e.message)}}', + limit:5, + 推荐:'ul.stui-vodlist.clearfix;li;a&&title;.lazyload&&data-original;;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'body .stui-vodlist__box;a&&title;.lazyload&&data-original;;a&&href', + 二级:{"title":"h1.title&&Text;.stui-content__detail p:eq(1)&&Text","img":".lazyload&&data-original","desc":".stui-content__detail p:eq(-3)&&Text;.stui-content__detail p:eq(-2)&&Text","content":".stui-content__detail p.detail&&Text","tabs":".stui-pannel__head ul li","lists":".stui-content__playlist:eq(#id) li"}, + // 搜索:'body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text', +} \ No newline at end of file diff --git a/js/瓜皮TV.js b/js/瓜皮TV.js new file mode 100644 index 0000000..f80d653 --- /dev/null +++ b/js/瓜皮TV.js @@ -0,0 +1,5 @@ +var rule = Object.assign(muban.mxpro,{ +title:'瓜皮TV', +host:'https://guapitv.xyz', +class_parse:'.navbar-items li:gt(1):lt(8);a&&Text;a&&href;.*-(.*?).html', +}); \ No newline at end of file