From aa535da2d04b6a795c2619569f17b01a1f0312fd Mon Sep 17 00:00:00 2001 From: jdk <120591059+QFBJ@users.noreply.github.com> Date: Sat, 18 Feb 2023 22:04:13 +0800 Subject: [PATCH] Add files via upload --- js/乐猪TV.js | 30 ++++++++++++++++++++++++++++++ js/喵喵.js | 22 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 js/乐猪TV.js create mode 100644 js/喵喵.js diff --git a/js/乐猪TV.js b/js/乐猪TV.js new file mode 100644 index 0000000..781047c --- /dev/null +++ b/js/乐猪TV.js @@ -0,0 +1,30 @@ +var rule = { + title:'乐猪TV', + host:'http://www.lezhutv.com', + // homeUrl:'/', + url:'/list/fyclassfyfilter.html', + filterable:1,//是否启用分类筛选, + filter_url:'_fypage_desc_{{fl.by}}_0_0___', + filter: {"1":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"2":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"4":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"3":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"14":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"15":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]}, + // searchUrl:'/search-pg-fypage-wd-**.html', + searchUrl:'/index.php?m=vod-search#wd=**&search=;post', + searchable:2, + quickSearch:0, + headers:{ + // 'User-Agent':'UC_UA' + 'User-Agent':'MOBILE_UA', + // 'Cookie':'test', + }, + timeout:5000, + // class_parse:'div.nav a;a&&Text;a&&href;/(\\d.+).html', + class_parse:'div.nav a;a&&Text;a&&href;/(\\d+)-1.html', + play_parse:true, + lazy:'', + limit:5, + 推荐:'.tbox2;*;*;*;*;*', + double:true, // 推荐内容是否双层定位 + 一级:'ul.tbox_m2 li;a&&title;a&&data-original;span&&Text;a&&href', + 二级:{"title":".data h4--i&&Text;.yac&&Text","img":".item-lazy&&data-original","desc":";;;.act&&Text;.dir&&Text","content":".tbox_js&&Text","tabs":"js:pdfa=jsp.pdfa;TABS=pdfa(html,'.tbox_t h3').map(function(it,idex){return '线路'+(idex+1)})","lists":"ul.list_block:eq(#id) li","tabs":".tbox_t h3"}, + 搜索:'ul.tbox_m li;*;*;*;*', + +} \ No newline at end of file diff --git a/js/喵喵.js b/js/喵喵.js new file mode 100644 index 0000000..c049ba8 --- /dev/null +++ b/js/喵喵.js @@ -0,0 +1,22 @@ +var rule = { + title:'喵喵', + host:'https://www.2345ka.com', + // homeUrl:'/', + url:'/t/fyclass/fypage.html', + searchUrl:'/s/**/fypage.html', + searchable:2, + quickSearch:0, + headers:{ + 'User-Agent':'UC_UA' + }, + timeout:5000, + class_parse:'.bm-item-list a:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html', + play_parse:true, + lazy:'', + limit:5, + 推荐:'.movie-list-body;.movie-list-item;.movie-title&&Text;.movie-post-lazyload&&data-original;.movie-rating&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'.movie-list-body .movie-list-item;.movie-title&&Text;.Lazy&&data-original;.movie-rating&&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