From 4d46b82e402637d744c9020af7bafbecd9a7661d Mon Sep 17 00:00:00 2001 From: guoting Date: Mon, 25 Dec 2023 03:18:14 +0000 Subject: [PATCH] j Signed-off-by: guoting --- js/两个BT.js | 38 +++++ js/乐鱼影视.js | 38 +++++ js/六月听书.js | 27 ++++ js/兰花影院.js | 41 +++++ js/凌云.js | 6 + js/凌云影视.js | 34 +++++ js/啦啦DJ.js | 22 +++ js/徕米TV.js | 23 +++ js/快云影院.js | 24 +++ js/快看.js | 42 ++++++ js/落攻阁影视.js | 40 +++++ js/落攻阁影视[V2].js | 304 +++++++++++++++++++++++++++++++++++++ js/蚂蚁影视.js | 24 +++ js/路人甲[V2].js | 305 ++++++++++++++++++++++++++++++++++++++ js/路漫漫.js | 38 +++++ js/酷云77.js | 140 +++++++++++++++++ js/量子影视.js | 22 +++ js/量子资源.js | 87 +++++++++++ js/零柒影视.js | 23 +++ js/麻花影视.js | 24 +++ 20 files changed, 1302 insertions(+) create mode 100644 js/两个BT.js create mode 100644 js/乐鱼影视.js create mode 100644 js/六月听书.js create mode 100644 js/兰花影院.js create mode 100644 js/凌云.js create mode 100644 js/凌云影视.js create mode 100644 js/啦啦DJ.js create mode 100644 js/徕米TV.js create mode 100644 js/快云影院.js create mode 100644 js/快看.js create mode 100644 js/落攻阁影视.js create mode 100644 js/落攻阁影视[V2].js create mode 100644 js/蚂蚁影视.js create mode 100644 js/路人甲[V2].js create mode 100644 js/路漫漫.js create mode 100644 js/酷云77.js create mode 100644 js/量子影视.js create mode 100644 js/量子资源.js create mode 100644 js/零柒影视.js create mode 100644 js/麻花影视.js diff --git a/js/两个BT.js b/js/两个BT.js new file mode 100644 index 0000000..bd02c75 --- /dev/null +++ b/js/两个BT.js @@ -0,0 +1,38 @@ +// 地址发布页 https://www.bttwo.vip/ +var rule = { + title:'两个BT', + // host:'https://www.bttwoo.com', + host:'https://www.bttwo.net', + // url:'/fyclass/page/fypage', + url:'/fyclassfyfilter', + filterable:1,//是否启用分类筛选, + filter_url:'{{fl.area}}{{fl.year}}{{fl.class}}/page/fypage', + filter:{ + "movie_bt":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"v":"/movie_bt_tags/zj","n":"传记"},{"v":"/movie_bt_tags/ertong","n":"儿童"},{"v":"/movie_bt_tags/adt","n":"冒险"},{"v":"/movie_bt_tags/juqing","n":"剧情"},{"v":"/movie_bt_tags/at","n":"动作"},{"v":"/movie_bt_tags/donghua","n":"动画"},{"v":"/movie_bt_tags/lishi","n":"历史"},{"v":"/movie_bt_tags/guzhuang","n":"古装"},{"v":"/movie_bt_tags/tongxing","n":"同性"},{"v":"/movie_bt_tags/xiju","n":"喜剧"},{"v":"/movie_bt_tags/qihuan","n":"奇幻"},{"v":"/movie_bt_tags/jiating","n":"家庭"},{"v":"/movie_bt_tags/kongbu","n":"恐怖"},{"v":"/movie_bt_tags/xuanni","n":"悬疑"},{"v":"/movie_bt_tags/qingse","n":"情色"},{"v":"/movie_bt_tags/jingsong","n":"惊悚"},{"v":"/movie_bt_tags/戏曲","n":"戏曲"},{"v":"/movie_bt_tags/zhanzheng","n":"战争"},{"v":"/movie_bt_tags/gw","n":"歌舞"},{"v":"/movie_bt_tags/wuxia","n":"武侠"},{"v":"/movie_bt_tags/zhannan","n":"灾难"},{"v":"/movie_bt_tags/aiqing","n":"爱情"},{"v":"/movie_bt_tags/fanzui","n":"犯罪"},{"v":"/movie_bt_tags/短片","n":"短片"},{"v":"/movie_bt_tags/kehuan","n":"科幻"},{"v":"/movie_bt_tags/jilu","n":"纪录片"},{"v":"/movie_bt_tags/xibu","n":"西部"},{"v":"/movie_bt_tags/yd","n":"运动"},{"v":"/movie_bt_tags/yinyue","n":"音乐"},{"v":"/movie_bt_tags/黑色电影","n":"黑色电影"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"v":"/movie_bt_cat/不丹","n":"不丹"},{"v":"/movie_bt_cat/ny","n":"东南亚"},{"v":"/movie_bt_cat/zhonji","n":"中国"},{"v":"/movie_bt_cat/zhogngtw","n":"中国台湾"},{"v":"/movie_bt_cat/dl","n":"中国大陆"},{"v":"/movie_bt_cat/zhongguoxg","n":"中国香港"},{"v":"/movie_bt_cat/dm","n":"丹麦"},{"v":"/movie_bt_cat/wuklan","n":"乌克兰"},{"v":"/movie_bt_cat/yisl","n":"以色列"},{"v":"/movie_bt_cat/yl","n":"伊朗"},{"v":"/movie_bt_cat/els","n":"俄罗斯"},{"v":"/movie_bt_cat/baojialiya","n":"保加利亚"},{"v":"/movie_bt_cat/克罗地亚","n":"克罗地亚"},{"v":"/movie_bt_cat/bingda","n":"冰岛"},{"v":"/movie_bt_cat/jnd","n":"加拿大"},{"v":"/movie_bt_cat/匈牙利","n":"匈牙利"},{"v":"/movie_bt_cat/nasilafu","n":"南斯拉夫"},{"v":"/movie_bt_cat/nanfei","n":"南非"},{"v":"/movie_bt_cat/kaer","n":"卡塔尔"},{"v":"/movie_bt_cat/luob","n":"卢森堡"},{"v":"/movie_bt_cat/yindu","n":"印度"},{"v":"/movie_bt_cat/印度尼西亚","n":"印度尼西亚"},{"v":"/movie_bt_cat/taiwan","n":"台湾"},{"v":"/movie_bt_cat/gelunbiya","n":"哥伦比亚"},{"v":"/movie_bt_cat/tuerqi","n":"土耳其"},{"v":"/movie_bt_cat/saierweiya","n":"塞尔维亚"},{"v":"/movie_bt_cat/moxige","n":"墨西哥"},{"v":"/movie_bt_cat/aodili","n":"奥地利"},{"v":"/movie_bt_cat/nirily","n":"尼日利亚"},{"v":"/movie_bt_cat/bx","n":"巴西"},{"v":"/movie_bt_cat/xl","n":"希腊"},{"v":"/movie_bt_cat/德国","n":"德国"},{"v":"/movie_bt_cat/ydl","n":"意大利"},{"v":"/movie_bt_cat/nw","n":"挪威"},{"v":"/movie_bt_cat/jirker","n":"捷克"},{"v":"/movie_bt_cat/摩洛哥","n":"摩洛哥"},{"v":"/movie_bt_cat/siluofake","n":"斯洛伐克"},{"v":"/movie_bt_cat/xinjip","n":"新加坡"},{"v":"/movie_bt_cat/xinxilan","n":"新西兰"},{"v":"/movie_bt_cat/rb","n":"日本"},{"v":"/movie_bt_cat/rihan","n":"日韩"},{"v":"/movie_bt_cat/omei","n":"欧美"},{"v":"/movie_bt_cat/bilishi","n":"比利时"},{"v":"/movie_bt_cat/fg","n":"法国"},{"v":"/movie_bt_cat/bolan","n":"波兰"},{"v":"/movie_bt_cat/波多黎各","n":"波多黎各"},{"v":"/movie_bt_cat/taigyo","n":"泰国"},{"v":"/movie_bt_cat/gangtai","n":"港台"},{"v":"/movie_bt_cat/adly","n":"澳大利亚"},{"v":"/movie_bt_cat/arl","n":"爱尔兰"},{"v":"/movie_bt_cat/asny","n":"爱沙尼亚"},{"v":"/movie_bt_cat/瑞典","n":"瑞典"},{"v":"/movie_bt_cat/ruishi","n":"瑞士"},{"v":"/movie_bt_cat/baierls","n":"白俄罗斯"},{"v":"/movie_bt_cat/tunisi","n":"突尼斯"},{"v":"/movie_bt_cat/ltwan","n":"立陶宛"},{"v":"/movie_bt_cat/lmny","n":"罗马尼亚"},{"v":"/movie_bt_cat/mg","n":"美国"},{"v":"/movie_bt_cat/芬兰","n":"芬兰"},{"v":"/movie_bt_cat/yg","n":"英国"},{"v":"/movie_bt_cat/hl","n":"荷兰"},{"v":"/movie_bt_cat/lsadlsi","n":"荷属安的列斯"},{"v":"/movie_bt_cat/feilb","n":"菲律宾"},{"v":"/movie_bt_cat/pty","n":"葡萄牙"},{"v":"/movie_bt_cat/dide","n":"西德"},{"v":"/movie_bt_cat/xby","n":"西班牙"},{"v":"/movie_bt_cat/yeun","n":"越南"},{"v":"/movie_bt_cat/ageiting","n":"阿根廷"},{"v":"/movie_bt_cat/alq","n":"阿联酋"},{"v":"/movie_bt_cat/hg","n":"韩国"},{"v":"/movie_bt_cat/xiangg","n":"香港"},{"v":"/movie_bt_cat/malaxy","n":"马来西亚"},{"v":"/movie_bt_cat/马耳他","n":"马耳他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"v":"/year/2023","n":"2023"},{"v":"/year/2022","n":"2022"},{"v":"/year/2021","n":"2021"},{"v":"/year/2020","n":"2020"},{"v":"/year/2019","n":"2019"},{"v":"/year/2018","n":"2018"},{"v":"/year/2017","n":"2017"},{"v":"/year/2016","n":"2016"},{"v":"/year/2015","n":"2015"},{"v":"/year/2014","n":"2014"},{"v":"/year/2013","n":"2013"},{"v":"/year/2012","n":"2012"},{"v":"/year/2011","n":"2011"},{"v":"/year/2010","n":"2010"},{"v":"/year/2009","n":"2009"},{"v":"/year/2008","n":"2008"},{"v":"/year/2007","n":"2007"},{"v":"/year/2006","n":"2006"},{"v":"/year/2005","n":"2005"},{"v":"/year/2004","n":"2004"},{"v":"/year/2003","n":"2003"},{"v":"/year/2002","n":"2002"},{"v":"/year/2001","n":"2001"},{"v":"/year/2000","n":"2000"},{"v":"/year/1999","n":"1999"},{"v":"/year/1998","n":"1998"},{"v":"/year/1997","n":"1997"},{"v":"/year/1996","n":"1996"},{"v":"/year/1995","n":"1995"},{"v":"/year/1994","n":"1994"},{"v":"/year/1993","n":"1993"},{"v":"/year/1992","n":"1992"},{"v":"/year/1991","n":"1991"},{"v":"/year/1990","n":"1990"},{"v":"/year/1989","n":"1989"},{"v":"/year/1988","n":"1988"},{"v":"/year/1987","n":"1987"},{"v":"/year/1986","n":"1986"},{"v":"/year/1985","n":"1985"},{"v":"/year/1984","n":"1984"},{"v":"/year/1983","n":"1983"},{"v":"/year/1982","n":"1982"},{"v":"/year/1980","n":"1980"},{"v":"/year/1978","n":"1978"},{"v":"/year/1977","n":"1977"},{"v":"/year/1976","n":"1976"},{"v":"/year/1975","n":"1975"},{"v":"/year/1974","n":"1974"},{"v":"/year/1973","n":"1973"},{"v":"/year/1972","n":"1972"},{"v":"/year/1970","n":"1970"},{"v":"/year/1969","n":"1969"},{"v":"/year/1963","n":"1963"},{"v":"/year/1962","n":"1962"},{"v":"/year/1961","n":"1961"},{"v":"/year/1960","n":"1960"},{"v":"/year/1959","n":"1959"},{"v":"/year/1958","n":"1958"},{"v":"/year/1957","n":"1957"},{"v":"/year/1956","n":"1956"},{"v":"/year/1955","n":"1955"},{"v":"/year/1954","n":"1954"},{"v":"/year/1953","n":"1953"},{"v":"/year/1952","n":"1952"},{"v":"/year/1949","n":"1949"},{"v":"/year/1938","n":"1938"},{"v":"/year/1931","n":"1931"},{"v":"/year/1925","n":"1925"},{"v":"/year/1921","n":"1921"}]}] + }, + searchUrl:'/xssearch?q=**&f=_all&p=fypage', + searchable:2, + quickSearch:0, + headers:{ + 'User-Agent':'UC_UA' + }, + timeout:5000, + class_name:'影视筛选&电视剧&高分电影&热门下载&本月热门&最新电影&国产剧&美剧&日韩剧',//静态分类名称拼接 + class_url:'movie_bt&dsj&gf&hot&hot-month&new-movie&zgjun&meiju&jpsrtv',//静态分类标识拼接 + // class_parse: '.navlist li:gt(0):lt(7);a&&Text;a&&href;.*/(\\w+)', + play_parse:true, + lazy:'', + limit:5, + 推荐:'.leibox;li;*;*;*;*', + double:true, // 推荐内容是否双层定位 + 一级:'.bt_img li;.lazy&&alt;.thumb.lazy&&data-original;.jidi span&&Text;a&&href', + 二级:{ + "title":"h1&&Text;.moviedteail_list&&li:eq(0)&&Text", + "img":".dyimg.fl img&&src", + "desc":".moviedteail_list&&li:eq(9)&&Text;;;.moviedteail_list&&li:eq(7)&&Text;.moviedteail_list&&li:eq(5)&&Text", + "content":".yp_context&&p:eq(0)&&Text", + "tabs":".ypxingq_t:eq(1) span", + "lists":".paly_list_btn:eq(#id) a" + }, + 搜索:'*', +} diff --git a/js/乐鱼影视.js b/js/乐鱼影视.js new file mode 100644 index 0000000..ae0a126 --- /dev/null +++ b/js/乐鱼影视.js @@ -0,0 +1,38 @@ +var rule = { + title:'乐鱼影视', + // host:'https://www.leyupro.com', + host:'https://www.yu992.com', + // url:'/lys/fyclass/page/fypage.html', + url: '/lys/fyclassfyfilter.html', + filterable:1,//是否启用分类筛选, + filter_url:'{{fl.area}}{{fl.by}}{{fl.class}}/page/fypage{{fl.year}}', + filter:{ + "lyMovie":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"喜剧","v":"/class/喜剧"},{"n":"爱情","v":"/class/爱情"},{"n":"恐怖","v":"/class/恐怖"},{"n":"动作","v":"/class/动作"},{"n":"科幻","v":"/class/科幻"},{"n":"剧情","v":"/class/剧情"},{"n":"战争","v":"/class/战争"},{"n":"犯罪","v":"/class/犯罪"},{"n":"动画","v":"/class/动画"},{"n":"奇幻","v":"/class/奇幻"},{"n":"冒险","v":"/class/冒险"},{"n":"恐怖","v":"/class/恐怖"},{"n":"悬疑","v":"/class/悬疑"},{"n":"惊悚","v":"/class/惊悚"},{"n":"历史","v":"/class/历史"},{"n":"运动","v":"/class/运动"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"/area/大陆"},{"n":"香港","v":"/area/香港"},{"n":"台湾","v":"/area/台湾"},{"n":"美国","v":"/area/美国"},{"n":"法国","v":"/area/法国"},{"n":"英国","v":"/area/英国"},{"n":"日本","v":"/area/日本"},{"n":"韩国","v":"/area/韩国"},{"n":"德国","v":"/area/德国"},{"n":"泰国","v":"/area/泰国"},{"n":"印度","v":"/area/印度"},{"n":"意大利","v":"/area/意大利"},{"n":"西班牙","v":"/area/西班牙"},{"n":"加拿大","v":"/area/加拿大"},{"n":"其他","v":"/area/其他"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"}]},{"key":"by","name":"排序","value":[{"n":"按时间","v":"/by/time"},{"n":"按人气","v":"/by/hits"},{"n":"按评分","v":"/by/score"}]}], + "lyTv":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"古装","v":"/class/古装"},{"n":"喜剧","v":"/class/喜剧"},{"n":"偶像","v":"/class/偶像"},{"n":"家庭","v":"/class/家庭"},{"n":"警匪","v":"/class/警匪"},{"n":"言情","v":"/class/言情"},{"n":"武侠","v":"/class/武侠"},{"n":"悬疑","v":"/class/悬疑"},{"n":"历史","v":"/class/历史"},{"n":"农村","v":"/class/农村"},{"n":"都市","v":"/class/都市"},{"n":"神话","v":"/class/神话"},{"n":"科幻","v":"/class/科幻"},{"n":"搞笑","v":"/class/搞笑"},{"n":"谍战","v":"/class/谍战"},{"n":"战争","v":"/class/战争"},{"n":"年代","v":"/class/年代"},{"n":"爱情","v":"/class/爱情"},{"n":"剧情","v":"/class/剧情"},{"n":"奇幻","v":"/class/奇幻"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"/area/大陆"},{"n":"韩国","v":"/area/韩国"},{"n":"香港","v":"/area/香港"},{"n":"台湾","v":"/area/台湾"},{"n":"日本","v":"/area/日本"},{"n":"美国","v":"/area/美国"},{"n":"泰国","v":"/area/泰国"},{"n":"英国","v":"/area/英国"},{"n":"新加坡","v":"/area/新加坡"},{"n":"其他","v":"/area/其他"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"}]},{"key":"by","name":"排序","value":[{"n":"按时间","v":"/by/time"},{"n":"按人气","v":"/by/hits"},{"n":"按评分","v":"/by/score"}]}], + "lyCartoon":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"科幻","v":"/class/科幻"},{"n":"热血","v":"/class/热血"},{"n":"推理","v":"/class/推理"},{"n":"搞笑","v":"/class/搞笑"},{"n":"冒险","v":"/class/冒险"},{"n":"萝莉","v":"/class/萝莉"},{"n":"校园","v":"/class/校园"},{"n":"机战","v":"/class/机战"},{"n":"运动","v":"/class/运动"},{"n":"战争","v":"/class/战争"},{"n":"少女","v":"/class/少女"},{"n":"社会","v":"/class/社会"},{"n":"原创","v":"/class/原创"},{"n":"益智","v":"/class/益智"},{"n":"励志","v":"/class/励志"},{"n":"其他","v":"/class/其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"/area/大陆"},{"n":"韩国","v":"/area/韩国"},{"n":"日本","v":"/area/日本"},{"n":"美国","v":"/area/美国"},{"n":"其他","v":"/area/其他"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"}]},{"key":"by","name":"排序","value":[{"n":"按时间","v":"/by/time"},{"n":"按人气","v":"/by/hits"},{"n":"按评分","v":"/by/score"}]}], + "lyVariety":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"音乐","v":"/class/音乐"},{"n":"真人","v":"/class/真人"},{"n":"访谈","v":"/class/访谈"},{"n":"播报","v":"/class/播报"},{"n":"旅游","v":"/class/旅游"},{"n":"美食","v":"/class/美食"},{"n":"纪实","v":"/class/纪实"},{"n":"生活","v":"/class/生活"},{"n":"游戏","v":"/class/游戏"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"/area/大陆"},{"n":"香港","v":"/area/香港"},{"n":"台湾","v":"/area/台湾"},{"n":"日本","v":"/area/日本"},{"n":"韩国","v":"/area/韩国"},{"n":"美国","v":"/area/美国"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"}]},{"key":"by","name":"排序","value":[{"n":"按时间","v":"/by/time"},{"n":"按人气","v":"/by/hits"},{"n":"按评分","v":"/by/score"}]}], + "lydocumentary":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"社会","v":"/class/社会"},{"n":"动物","v":"/class/动物"},{"n":"文化","v":"/class/文化"},{"n":"自然","v":"/class/自然"},{"n":"人文","v":"/class/人文"},{"n":"军事","v":"/class/军事"},{"n":"历史","v":"/class/历史"},{"n":"记录","v":"/class/记录"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"/area/大陆"},{"n":"日本","v":"/area/日本"},{"n":"美国","v":"/area/美国"},{"n":"国外","v":"/area/国外"},{"n":"其他","v":"/area/其他"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"}]},{"key":"by","name":"排序","value":[{"n":"按时间","v":"/by/time"},{"n":"按人气","v":"/by/hits"},{"n":"按评分","v":"/by/score"}]}], + "lyLive":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"体育","v":"/class/体育"},{"n":"电视","v":"/class/电视"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"/area/大陆"},{"n":"美国","v":"/area/美国"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":""},{"n":"2022","v":"/year/2022"}]},{"key":"by","name":"排序","value":[{"n":"按时间","v":"/by/time"},{"n":"按人气","v":"/by/hits"},{"n":"按评分","v":"/by/score"}]}] + }, + searchUrl:'/lyso/page/fypage/wd/**.html', + searchable:2,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + headers:{ + 'User-Agent':'MOBILE_UA' + }, + class_name:'电影&电视剧&综艺&动漫&纪录片', + class_url:'lyMovie&lyTv&lyVariety&lyCartoon&lydocumentary', + play_parse:true, + limit:6, + 推荐:'*', + 一级:'.gcol;a&&title;.eclazy&&data-original;.packscore&&Text;a&&href', + 二级:{ + "title":"h1&&Text;.detailinfo&&p--span:eq(0)&&Text", + "img":".detailpic&&img&&src", + "desc":".detailinfo&&p:eq(7)&&Text;;;.detailinfo&&p--span:eq(2)&&Text;.detailinfo&&p--span:eq(1)&&Text", + "content":".tjuqing&&Text", + "tabs":".downtitle:eq(1)&&li", + "lists":".videolist:eq(#id) a" + }, + 搜索:'.search;*;img&&src;.list&&span:eq(1)&&Text;*', +} \ No newline at end of file diff --git a/js/六月听书.js b/js/六月听书.js new file mode 100644 index 0000000..ba4dbe2 --- /dev/null +++ b/js/六月听书.js @@ -0,0 +1,27 @@ +var rule = { + title: '六月听书', + host: 'http://m.6yueting.com', + url: '/ys/fyclass/o2/pfypage', + searchUrl: '/search/index/search?content=**&type=1&pageNum=fypage&pageSize=40', + searchable: 2, + quickSearch: 0, + filterable:0,//是否启用分类筛选, + headers:{'User-Agent':'MOBILE_UA'}, + class_name:'全部分类&玄幻奇幻&修真武侠&恐怖灵异&古今言情&都市言情&穿越重生&粤语古仔&网游小说&通俗文学&历史纪实&军事&悬疑推理&ebc5系列&官场商战&儿童读物&广播剧&外文原版&评书大全&相声小品&百家讲坛&健康养生&教材&期刊头条&戏曲&脱口秀', + class_url:'t0&t1&t2&t3&t4&t28&t5&t6&t7&t11&t12&t13&t14&t18&t15&t16&t17&t22&t8&t9&t10&t20&t21&t23&t24&t27', + play_parse:true, + lazy:'', + limit:6, + 图片来源:'@Referer=http://m.6yueting.com/@User-Agent=MOBILE_UA', + 推荐:'*', + 一级: '.list-wrapper&&.item-link;h2--span&&Text;img&&src;.status&&Text;a&&href', + 二级:{ + "title":".book-title&&Text;.text:eq(0)&&Text", + "img":".img&&src", + "desc":".text:eq(3)&&Text;;;.text:eq(1)&&Text;.text:eq(2)&&Text", + "content":".book-intro&&Text", + "tabs":".operate-bar&&.total-num", + "lists":".book-list:eq(#id)&&.list-item" + }, + 搜索:'js:let d=[];let MY_HOME="http://m.6yueting.com";let html=request(input);html=JSON.parse(html);let list=html.data.content;list.forEach(function(it){d.push({title:it.name.replace(/<.*?>/g,""),img:"http://img.6yueting.com:20001/"+it.coverUrlLocal,url:MY_HOME+"/list/"+it.code,desc:it.cdate,content:it.descXx.replace(/ /g,"")})});setResult(d);', +} \ No newline at end of file diff --git a/js/兰花影院.js b/js/兰花影院.js new file mode 100644 index 0000000..88e9636 --- /dev/null +++ b/js/兰花影院.js @@ -0,0 +1,41 @@ +muban.海螺3.二级.title = '.hl-dc-title&&Text;.hl-col-xs-12.hl-col-sm-4--em:eq(2)&&Text'; +muban.海螺3.二级.desc = 'li.hl-col-xs-12:eq(1)&&Text;;;li.hl-col-xs-12--em:eq(2)&&Text;li.hl-col-xs-12--em:eq(3)&&Text'; +var rule = { + title:'兰花影院', + 模板:'海螺3', + host:'https://www.lanhuatv.com', + // url:'/vodshow/fyclass--------fypage---.html', + url:'/vodshow/fyfilter.html', + filterable:1,//是否启用分类筛选, + filter_url:'{{fl.cateId}}-{{fl.area}}-{{fl.by}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}', + filter: { + "1":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"1"},{"n":"动作片","v":"101"},{"n":"喜剧片","v":"102"},{"n":"爱情片","v":"103"},{"n":"科幻片","v":"104"},{"n":"剧情片","v":"105"},{"n":"悬疑片","v":"106"},{"n":"惊悚片","v":"107"},{"n":"恐怖片","v":"108"},{"n":"犯罪片","v":"109"},{"n":"冒险片","v":"111"},{"n":"奇幻片","v":"112"},{"n":"灾难片","v":"113"},{"n":"战争片","v":"114"},{"n":"动画片","v":"115"},{"n":"歌舞片","v":"116"},{"n":"历史片","v":"117"},{"n":"传记片","v":"118"},{"n":"其他片","v":"119"}]},{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"剧情","v":"剧情"},{"n":"悬疑","v":"悬疑"},{"n":"动作","v":"动作"},{"n":"喜剧","v":"喜剧"},{"n":"爱情","v":"爱情"},{"n":"科幻","v":"科幻"},{"n":"惊悚","v":"惊悚"},{"n":"恐怖","v":"恐怖"},{"n":"犯罪","v":"犯罪"},{"n":"谍战","v":"谍战"},{"n":"冒险","v":"冒险"},{"n":"奇幻","v":"奇幻"},{"n":"灾难","v":"灾难"},{"n":"战争","v":"战争"},{"n":"动画","v":"动画"},{"n":"歌舞","v":"歌舞"},{"n":"历史","v":"历史"},{"n":"传记","v":"传记"},{"n":"纪录","v":"纪录"},{"n":"其他","v":"其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"大陆"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德 国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"letter","name":"字母","value":[{"n":"全部","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}], + // "2":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"2"},{"n":"国产剧","v":"201"},{"n":"日韩剧","v":"203"},{"n":"欧美剧","v":"204"},{"n":"香港剧","v":"202"},{"n":"台湾剧","v":"226"},{"n":"海外剧","v":"205"},{"n":"其他剧","v":"206"}]},{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"爱情","v":"爱情"},{"n":"古装","v":"古装"},{"n":"都市","v":"都市"},{"n":"剧情","v":"剧情"},{"n":"悬疑","v":"悬疑"},{"n":"古装","v":"古装"},{"n":" 武侠","v":"武侠"},{"n":"神话","v":"神话"},{"n":"喜剧","v":"喜剧"},{"n":"青春","v":"青春"},{"n":"科幻","v":"科幻"},{"n":"军事","v":"军事"},{"n":"警匪","v":"警匪"},{"n":"谍战","v":"谍战"},{"n":"奇幻","v":"奇幻"},{"n":"偶像","v":"偶像"},{"n":"年代","v":"年代"},{"n":"乡村","v":"乡村"},{"n":"家庭","v":"家庭"},{"n":"历史","v":"历史"},{"n":"其他","v":"其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"大陆"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"letter","name":"字母","value":[{"n":"全部","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}], + "222":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"222"},{"n":"国产剧","v":"201"},{"n":"日韩剧","v":"203"},{"n":"欧美剧","v":"204"},{"n":"香港剧","v":"202"},{"n":"台湾剧","v":"226"},{"n":"海外剧","v":"205"},{"n":"其他剧","v":"206"}]},{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"爱情","v":"爱情"},{"n":"古装","v":"古装"},{"n":"都市","v":"都市"},{"n":"剧情","v":"剧情"},{"n":"悬疑","v":"悬疑"},{"n":"古装","v":"古装"},{"n":" 武侠","v":"武侠"},{"n":"神话","v":"神话"},{"n":"喜剧","v":"喜剧"},{"n":"青春","v":"青春"},{"n":"科幻","v":"科幻"},{"n":"军事","v":"军事"},{"n":"警匪","v":"警匪"},{"n":"谍战","v":"谍战"},{"n":"奇幻","v":"奇幻"},{"n":"偶像","v":"偶像"},{"n":"年代","v":"年代"},{"n":"乡村","v":"乡村"},{"n":"家庭","v":"家庭"},{"n":"历史","v":"历史"},{"n":"其他","v":"其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"大陆"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"letter","name":"字母","value":[{"n":"全部","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}], + "3":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"脱口秀","v":"脱口秀"},{"n":"真人秀","v":"真人秀"},{"n":"搞笑","v":"搞笑"},{"n":"访谈","v":"访谈"},{"n":"生活","v":"生活"},{"n":"美食","v":"美食"},{"n":"亲子","v":"亲子"},{"n":"旅游","v":"旅游"},{"n":"文化","v":"文化"},{"n":"体育","v":"体育"},{"n":"时尚","v":"时尚"},{"n":"纪实","v":"纪实"},{"n":"益智","v":"益智"},{"n":"演艺","v":"演艺"},{"n":"歌舞","v":"歌舞"},{"n":"音乐","v":"音乐"},{"n":"其他","v":"其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"大陆"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"letter","name":"字母","value":[{"n":"全部","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}], + "4":[{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"热血","v":"热血"},{"n":"冒险","v":"冒险"},{"n":"格斗","v":"格斗"},{"n":"恋爱","v":"恋爱"},{"n":"美少女","v":"美少女"},{"n":"校园","v":"校园"},{"n":"搞笑","v":"搞笑"},{"n":"机战","v":"机战"},{"n":"科幻","v":"科幻"},{"n":"青春","v":"青春"},{"n":"魔法","v":"魔法"},{"n":"神话","v":"神话"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"大陆"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"美国","v":"美国"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"其他","v":"其他"}]},{"key":"letter","name":"字母","value":[{"n":"全部","v":""},{"n":"A","v":"A"},{"n":"B","v":"B"},{"n":"C","v":"C"},{"n":"D","v":"D"},{"n":"E","v":"E"},{"n":"F","v":"F"},{"n":"G","v":"G"},{"n":"H","v":"H"},{"n":"I","v":"I"},{"n":"J","v":"J"},{"n":"K","v":"K"},{"n":"L","v":"L"},{"n":"M","v":"M"},{"n":"N","v":"N"},{"n":"O","v":"O"},{"n":"P","v":"P"},{"n":"Q","v":"Q"},{"n":"R","v":"R"},{"n":"S","v":"S"},{"n":"T","v":"T"},{"n":"U","v":"U"},{"n":"V","v":"V"},{"n":"W","v":"W"},{"n":"X","v":"X"},{"n":"Y","v":"Y"},{"n":"Z","v":"Z"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"time"},{"n":"最热","v":"hits"},{"n":"评分","v":"score"}]}] + }, + filter_def:{ + 1:{cateId:'1'}, + // 2:{cateId:'2'}, + 222:{cateId:'222'}, + 3:{cateId:'3'}, + 4:{cateId:'4'} + }, + searchUrl: '/vodsearch/**----------fypage---.html', + class_parse: 'body&&.hl-nav li;a&&Text;a&&href;.*/(\\d+).html', + lazy:`js: + var html = JSON.parse(request(input).match(/r player_.*?=(.*?) '+stringify(videoList)); + videoList.forEach((it,idex) => { + let vlist = /v1\\.vod/.test(HOST) ? videoList[idex].vod_list : videoList[idex].vlist ; + vlist.forEach(it => { + d.push({ + url:it.vod_id, + title:it.vod_name, + img:it.vod_pic.startsWith('http') ? it.vod_pic : it.vod_pic.startsWith('//') ? 'https:' + it.vod_pic : it.vod_pic.startsWith('/') ? getHome(HOST) + it.vod_pic : getHome(HOST) + '/' + it.vod_pic, + desc:it.vod_remarks, + }); + }); + }); + setResult(d); + `, + 一级:`js: + let d = []; + let jsondata = []; + let videoList = []; + if (/v1\\.vod/.test(HOST)) { + input = input.replace('video','v1.vod').replace('tid','type').replace('pg=','page='); + jsondata = JSON.parse(request(input)); + videoList = jsondata.data.list; + } else { + input = HOST + '/'+ input.split('/')[4]; + jsondata = JSON.parse(request(input)); + videoList = jsondata.list || jsondata.data; + } + // log('videoList =========> '+stringify(videoList)); + videoList.forEach(it => { + d.push({ + url:it.vod_id, + title:it.vod_name, + img:it.vod_pic.startsWith('http') ? it.vod_pic : it.vod_pic.startsWith('//') ? 'https:' + it.vod_pic : it.vod_pic.startsWith('/') ? getHome(HOST) + it.vod_pic : getHome(HOST) + '/' + it.vod_pic, + desc:it.vod_remarks, + }); + }); + setResult(d); + `, + 二级:`js: + if (/v1\\.vod/.test(HOST)) { + input = HOST + '/'+ input.split('/')[3]; + } else { + input = HOST + '/'+ input.split('/')[3].replace('detail','video_detail').replace('vod_id','id'); + } + try { + let html = request(input); + html = JSON.parse(html); + let node = /xgapp/.test(HOST) ? html.data.vod_info : html.data; + VOD = { + vod_id: node.vod_id, + vod_name: node.vod_name, + vod_pic: node.vod_pic, + type_name: node.vod_class, + vod_year: node.vod_year, + vod_area: node.vod_area, + vod_remarks: node.vod_remarks, + vod_actor: node.vod_actor, + vod_director: node.vod_director, + vod_content: node.vod_content.strip() + }; + if (typeof play_url === 'undefined') { + var play_url = '' + } + var name = { + 'bfzym3u8': '暴风', + '1080zyk': '优质', + 'kuaikan': '快看', + 'lzm3u8': '量子', + 'ffm3u8': '非凡', + 'haiwaikan': '海外看', + 'gsm3u8': '光速', + 'zuidam3u8': '最大', + 'bjm3u8': '八戒', + 'snm3u8': '索尼', + 'wolong': '卧龙', + 'xlm3u8': '新浪', + 'yhm3u8': '樱花', + 'tkm3u8': '天空', + 'jsm3u8': '极速', + 'wjm3u8': '无尽', + 'sdm3u8': '闪电', + 'kcm3u8': '快车', + 'jinyingm3u8': '金鹰', + 'fsm3u8': '飞速', + 'tpm3u8': '淘片', + 'lem3u8': '鱼乐', + 'dbm3u8': '百度', + 'tomm3u8': '番茄', + 'ukm3u8': 'U酷', + 'ikm3u8': '爱坤', + 'hnzym3u8': '红牛资源', + 'hnm3u8': '红牛', + '68zy_m3u8': '68', + 'kdm3u8': '酷点', + 'bdxm3u8': '北斗星', + 'qhm3u8': '奇虎', + 'hhm3u8': '豪华', + 'kbm3u8': '快播' + }; + let episodes = /v1\\.vod/.test(HOST)?node.vod_play_list:node.vod_url_with_player; + if (episodes != '') { + let playMap = {}; + let arr = []; + episodes.forEach(ep => { + let from = []; + if (/v1\\.vod/.test(HOST)) { + from = ep.player_info.from||ep.player_info.show||ep.from||ep.show; + } else { + from = ep.code||ep.name; + } + if (!playMap.hasOwnProperty(from)) { + playMap[from] = [] + } + // let parse_api = ''; + // if (/v1\\.vod/.test(HOST)) { + // parse_api = ep.player_info.parse != null ? ep.player_info.parse : ep.player_info.parse2; + // // parse_api = /,/.test(parse_api) ? parse_api.split(',')[1] : parse_api; + // } else { + // parse_api = ep.parse_api; + // } + // log('parse_api =========> '+parse_api); + // if (parse_api != null && !/\\.m3u8|\\.mp4/.test(ep.url)) { + // parse_api = parse_api.replaceAll('..','.') ; + // ep.url = ep.url.replaceAll('$','$'+parse_api); + // } + if (from != null) playMap[from].push(ep.url) + }); + for (var key in playMap) { + if ('bfzym3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 1 + }) + } else if ('1080zyk' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 2 + }) + } else if ('kuaikan' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 3 + }) + } else if ('lzm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 4 + }) + } else if ('ffm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 5 + }) + } else if ('snm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 6 + }) + } else if ('qhm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 7 + }) + } else { + arr.push({ + flag: name[key] ? name[key] : key, + url: playMap[key], + sort: 8 + }) + } + } + arr.sort((a, b) => a.sort - b.sort); + let playFrom = []; + let playList = []; + arr.map(val => { + if (!/undefined/.test(val.flag)) { + playFrom.push(val.flag); + playList.push(val.url); + } + }) + VOD.vod_play_from = playFrom.join('$$$'); + VOD.vod_play_url = playList.join('$$$'); + } else { + VOD.vod_play_from = node.vod_play_from; + VOD.vod_play_url = node.vod_play_url; + } + } catch (e) { + log("获取二级详情页发生错误:" + e.message); + } + `, + 搜索:`js: + let d = []; + let jsondata = []; + let videoList = []; + if (/v1\\.vod/.test(HOST)) { + input = (HOST + '/'+ input.split('/')[3]).replace('/search','').replace('text=','wd=').replace('pg=','page='); + jsondata = JSON.parse(request(input)); + videoList = jsondata.data.list; + } else { + input = HOST + '/'+ input.split('/')[3] + jsondata = JSON.parse(request(input)); + videoList = jsondata.list || jsondata.data; + } + // log('videoList =========> '+stringify(videoList)); + videoList.forEach(it => { + d.push({ + url:it.vod_id, + title:it.vod_name, + img:it.vod_pic.startsWith('http') ? it.vod_pic : it.vod_pic.startsWith('//') ? 'https:' + it.vod_pic : it.vod_pic.startsWith('/') ? getHome(HOST) + it.vod_pic : getHome(HOST) + '/' + it.vod_pic, + desc:it.vod_remarks, + }); + }); + setResult(d); + `, +} \ No newline at end of file diff --git a/js/蚂蚁影视.js b/js/蚂蚁影视.js new file mode 100644 index 0000000..edb43fc --- /dev/null +++ b/js/蚂蚁影视.js @@ -0,0 +1,24 @@ +var rule = { + title:'蚂蚁影视', + host:'https://www.4kvcd.com', + // homeUrl:'/', + url:'/fyclass/index_fypage_______.html', + searchUrl:'/index.php?s=vod-search-wd-**-p-fypage.html', + searchable:2,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + filterable:0,//是否启用分类筛选, + headers:{//网站的请求头,完整支持所有的,常带ua和cookies + 'User-Agent':'MOBILE_UA', + // "Cookie": "searchneed=ok" + }, + class_name:'电影&电视剧&综艺&动漫&纪录片&国产&香港&台湾&韩国&日本&欧美&海外', + class_url:'mov&tv&fun&cartoon&jilupian&guocanju&xianggangju&taiwanju&hanguoju&ribenju&oumeiju&haiwaiju', + play_parse:true, + lazy:'', + limit:6, + 推荐:'.module-items;.module-poster-item;a&&title;img&&data-original;.module-item-note&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'.module-poster-item;a&&title;img&&data-original;.module-item-note&&Text;a&&href', + 二级:{"title":"h1&&Text;.module-info-tag-link:eq(2)&&Text","img":".ls-is-cached.lazy.lazyload&&data-original","desc":".module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(2)&&.module-info-item-content&&Text;.module-info-content&&.module-info-item:eq(1)&&.module-info-item-content&&Text","content":".module-info-introduction-content&&Text","tabs":".module-tab-items-box:eq(0)&&.module-tab-item","lists":".module-list:eq(#id)&&.module-play-list-content a"}, + 搜索:'.module-card-item.module-item;.module-card-item-title&&Text;img&&data-original;.module-item-note&&Text;a.play-btn-o&&href', +} diff --git a/js/路人甲[V2].js b/js/路人甲[V2].js new file mode 100644 index 0000000..321d965 --- /dev/null +++ b/js/路人甲[V2].js @@ -0,0 +1,305 @@ +var rule = { + title: '路人甲[V2]', // csp_AppYsV2 + host:'http://dytt996.com/api.php/app/', + url: 'video?tid=fyclassfyfilter&limit=20&pg=fypage', + filter_url:'&class={{fl.class}}&area={{fl.area}}&lang={{fl.lang}}&letter={{fl.letter}}&year={{fl.year}}&by={{fl.by}}', + filter:{ + "1":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"喜剧","v":"喜剧"},{"n":"爱情","v":"爱情"},{"n":"恐怖","v":"恐怖"},{"n":"动作","v":"动作"},{"n":"科幻","v":"科幻"},{"n":"剧情","v":"剧情"},{"n":"战争","v":"战争"},{"n":"警匪","v":"警匪"},{"n":"犯罪","v":"犯罪"},{"n":"动画","v":"动画"},{"n":"奇幻","v":"奇幻"},{"n":"武侠","v":"武侠"},{"n":"冒险","v":"冒险"},{"n":"枪战","v":"枪战"},{"n":"恐怖","v":"恐怖"},{"n":"悬疑","v":"悬疑"},{"n":"惊悚","v":"惊悚"},{"n":"经典","v":"经典"},{"n":"青春","v":"青春"},{"n":"文艺","v":"文艺"},{"n":"微电影","v":"微电影"},{"n":"古装","v":"古装"},{"n":"历史","v":"历史"},{"n":"运动","v":"运动"},{"n":"农村","v":"农村"},{"n":"儿童","v":"儿童"},{"n":"网络电影","v":"网络电影"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"大陆","v":"大陆"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"美国","v":"美国"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"日本","v":"日本"},{"n":"韩国","v":"韩国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"意大利","v":"意大利"},{"n":"西班牙","v":"西班牙"},{"n":"加拿大","v":"加拿大"},{"n":"其他","v":"其他"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"法语","v":"法语"},{"n":"德语","v":"德语"},{"n":"其它","v":"其它"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]}], + "2":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"古装","v":"古装"},{"n":"战争","v":"战争"},{"n":"青春偶像","v":"青春偶像"},{"n":"喜剧","v":"喜剧"},{"n":"家庭","v":"家庭"},{"n":"犯罪","v":"犯罪"},{"n":"动作","v":"动作"},{"n":"奇幻","v":"奇幻"},{"n":"剧情","v":"剧情"},{"n":"历史","v":"历史"},{"n":"经典","v":"经典"},{"n":"乡村","v":"乡村"},{"n":"情景","v":"情景"},{"n":"商战","v":"商战"},{"n":"网剧","v":"网剧"},{"n":"其他","v":"其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"内地","v":"内地"},{"n":"韩国","v":"韩国"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"日本","v":"日本"},{"n":"美国","v":"美国"},{"n":"泰国","v":"泰国"},{"n":"英国","v":"英国"},{"n":"新加坡","v":"新加坡"},{"n":"其他","v":"其他"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]}], + "3":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"选秀","v":"选秀"},{"n":"情感","v":"情感"},{"n":"访谈","v":"访谈"},{"n":"播报","v":"播报"},{"n":"旅游","v":"旅游"},{"n":"音乐","v":"音乐"},{"n":"美食","v":"美食"},{"n":"纪实","v":"纪实"},{"n":"曲艺","v":"曲艺"},{"n":"生活","v":"生活"},{"n":"游戏互动","v":"游戏互动"},{"n":"财经","v":"财经"},{"n":"求职","v":"求职"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"内地","v":"内地"},{"n":"港台","v":"港台"},{"n":"日韩","v":"日韩"},{"n":"欧美","v":"欧美"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]}], + "4":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"情感","v":"情感"},{"n":"科幻","v":"科幻"},{"n":"热血","v":"热血"},{"n":"推理","v":"推理"},{"n":"搞笑","v":"搞笑"},{"n":"冒险","v":"冒险"},{"n":"萝莉","v":"萝莉"},{"n":"校园","v":"校园"},{"n":"动作","v":"动作"},{"n":"机战","v":"机战"},{"n":"运动","v":"运动"},{"n":"战争","v":"战争"},{"n":"少年","v":"少年"},{"n":"少女","v":"少女"},{"n":"社会","v":"社会"},{"n":"原创","v":"原创"},{"n":"亲子","v":"亲子"},{"n":"益智","v":"益智"},{"n":"励志","v":"励志"},{"n":"其他","v":"其他"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"国产","v":"国产"},{"n":"日本","v":"日本"},{"n":"欧美","v":"欧美"},{"n":"其他","v":"其他"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]}], + "36":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"喜剧","v":"喜剧"},{"n":"爱情","v":"爱情"},{"n":"恐怖","v":"恐怖"},{"n":"动作","v":"动作"},{"n":"科幻","v":"科幻"},{"n":"剧情","v":"剧情"},{"n":"战争","v":"战争"},{"n":"警匪","v":"警匪"},{"n":"犯罪","v":"犯罪"},{"n":"动画","v":"动画"},{"n":"奇幻","v":"奇幻"},{"n":"武侠","v":"武侠"},{"n":"冒险","v":"冒险"},{"n":"枪战","v":"枪战"},{"n":"恐怖","v":"恐怖"},{"n":"悬疑","v":"悬疑"},{"n":"惊悚","v":"惊悚"},{"n":"经典","v":"经典"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"韩国","v":"韩国"},{"n":"香港","v":"香港"},{"n":"台湾","v":"台湾"},{"n":"日本","v":"日本"},{"n":"美国","v":"美国"},{"n":"泰国","v":"泰国"},{"n":"英国","v":"英国"},{"n":"新加坡","v":"新加坡"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]}] + }, + detailUrl:'/detail?vod_id=fyid', + searchUrl: '/search?text=**&pg=fypage', + searchable: 2, + quickSearch: 0, + filterable:1,//是否启用分类筛选, + headers:{'User-Agent':'okhttp/4.1.0'}, + timeout:5000, + // 分类筛选 /api.php/app/nav || /xgapp.php/v1/nav || /api.php/v1.vod/types + class_name:'短剧视频&电影&连续剧&综艺&海外剧&动漫', + class_url:'39&1&2&3&36&4', + play_parse:true, + lazy:`js: + let play_Url = ''; + if (/\\.m3u8|\\.mp4/.test(input)) { + input = { + jx: 0, + url: input, + parse: 0 + } + } else if (/,/.test(input) && /url=/.test(input)) { + input = input.split('url='); + play_Url = input[0].split(',')[0]; + input = { + jx: 0, + url: input[1], + playUrl: play_Url, + parse: 1 + } + } else if (/url=|id=/.test(input)) { + input = { + jx: 0, + url: JSON.parse(request(input)).url, + parse: 0 + } + } else if (/youku|iqiyi|v\\.qq\\.com|pptv|sohu|le\\.com|1905\\.com|mgtv|bilibili|ixigua/.test(input)) { + play_Url = /bilibili/.test(input) ? 'https://jx.xmflv.com/?url=' : 'https://jx.777jiexi.com/player/?url='; // type0的parse + // play_Url = /bilibili/.test(input) ? 'https://jx.xmflv.com/?url=' : 'json:http://pandown.pro/app/kkdy.php?url='; // type1的parse可加'json:'直接解析url (除了蜂蜜的'影视TV',其它的壳皆可用) + input = { + jx: 0, + url: input, + playUrl: play_Url, + parse: 1, + header: JSON.stringify({ + 'user-agent': 'Mozilla/5.0', + }), + } + } else { + input + } + `, + limit:6, + // 图片来源:'@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/113.0.0.0%20Safari/537.36', + 推荐:`js: + let d = []; + let jsondata = []; + let videoList = []; + if (/v1\\.vod/.test(HOST)) { + if(HOST.endsWith('/')){ + jsondata = JSON.parse(request(HOST + 'vodPhbAll')); + } else { + jsondata = JSON.parse(request(HOST + '/vodPhbAll')); + } + videoList = jsondata.data.list; + } else { + if(HOST.endsWith('/')){ + jsondata = JSON.parse(request(HOST + 'index_video')); + } else { + jsondata = JSON.parse(request(HOST + '/index_video')); + } + videoList = /xgapp/.test(HOST) ? jsondata.data : jsondata.list; + } + // log('videoList =========> '+stringify(videoList)); + videoList.forEach((it,idex) => { + let vlist = /v1\\.vod/.test(HOST) ? videoList[idex].vod_list : videoList[idex].vlist ; + vlist.forEach(it => { + d.push({ + url:it.vod_id, + title:it.vod_name, + img:it.vod_pic.startsWith('http') ? it.vod_pic : it.vod_pic.startsWith('//') ? 'https:' + it.vod_pic : it.vod_pic.startsWith('/') ? getHome(HOST) + it.vod_pic : getHome(HOST) + '/' + it.vod_pic, + desc:it.vod_remarks, + }); + }); + }); + setResult(d); + `, + 一级:`js: + let d = []; + let jsondata = []; + let videoList = []; + if (/v1\\.vod/.test(HOST)) { + input = input.replace('video','v1.vod').replace('tid','type').replace('pg=','page='); + jsondata = JSON.parse(request(input)); + videoList = jsondata.data.list; + } else { + input = HOST + '/'+ input.split('/')[4]; + jsondata = JSON.parse(request(input)); + videoList = jsondata.list || jsondata.data; + } + // log('videoList =========> '+stringify(videoList)); + videoList.forEach(it => { + d.push({ + url:it.vod_id, + title:it.vod_name, + img:it.vod_pic.startsWith('http') ? it.vod_pic : it.vod_pic.startsWith('//') ? 'https:' + it.vod_pic : it.vod_pic.startsWith('/') ? getHome(HOST) + it.vod_pic : getHome(HOST) + '/' + it.vod_pic, + desc:it.vod_remarks, + }); + }); + setResult(d); + `, + 二级:`js: + if (/v1\\.vod/.test(HOST)) { + input = HOST + '/'+ input.split('/')[3]; + } else { + input = HOST + '/'+ input.split('/')[3].replace('detail','video_detail').replace('vod_id','id'); + } + try { + let html = request(input); + html = JSON.parse(html); + let node = /xgapp/.test(HOST) ? html.data.vod_info : html.data; + VOD = { + vod_id: node.vod_id, + vod_name: node.vod_name, + vod_pic: node.vod_pic, + type_name: node.vod_class, + vod_year: node.vod_year, + vod_area: node.vod_area, + vod_remarks: node.vod_remarks, + vod_actor: node.vod_actor, + vod_director: node.vod_director, + vod_content: node.vod_content.strip() + }; + if (typeof play_url === 'undefined') { + var play_url = '' + } + var name = { + 'bfzym3u8': '暴风', + '1080zyk': '优质', + 'kuaikan': '快看', + 'lzm3u8': '量子', + 'ffm3u8': '非凡', + 'haiwaikan': '海外看', + 'gsm3u8': '光速', + 'zuidam3u8': '最大', + 'bjm3u8': '八戒', + 'snm3u8': '索尼', + 'wolong': '卧龙', + 'xlm3u8': '新浪', + 'yhm3u8': '樱花', + 'tkm3u8': '天空', + 'jsm3u8': '极速', + 'wjm3u8': '无尽', + 'sdm3u8': '闪电', + 'kcm3u8': '快车', + 'jinyingm3u8': '金鹰', + 'fsm3u8': '飞速', + 'tpm3u8': '淘片', + 'lem3u8': '鱼乐', + 'dbm3u8': '百度', + 'tomm3u8': '番茄', + 'ukm3u8': 'U酷', + 'ikm3u8': '爱坤', + 'hnzym3u8': '红牛资源', + 'hnm3u8': '红牛', + '68zy_m3u8': '68', + 'kdm3u8': '酷点', + 'bdxm3u8': '北斗星', + 'qhm3u8': '奇虎', + 'hhm3u8': '豪华', + 'kbm3u8': '快播' + }; + let episodes = /v1\\.vod/.test(HOST)?node.vod_play_list:node.vod_url_with_player; + if (episodes != '') { + let playMap = {}; + let arr = []; + episodes.forEach(ep => { + let from = []; + if (/v1\\.vod/.test(HOST)) { + from = ep.player_info.from||ep.player_info.show||ep.from||ep.show; + } else { + from = ep.code||ep.name; + } + if (!playMap.hasOwnProperty(from)) { + playMap[from] = [] + } + let parse_api = ''; + if (/v1\\.vod/.test(HOST)) { + parse_api = ep.player_info.parse != null ? ep.player_info.parse : ep.player_info.parse2; + // parse_api = /,/.test(parse_api) ? parse_api.split(',')[1] : parse_api; + } else { + parse_api = ep.parse_api; + } + log('parse_api =========> '+parse_api); + if (parse_api != null && !/\\.m3u8|\\.mp4/.test(ep.url)) { + parse_api = parse_api.replaceAll('..','.') ; + ep.url = ep.url.replaceAll('$','$'+parse_api); + } + if (from != null) playMap[from].push(ep.url) + }); + for (var key in playMap) { + if ('bfzym3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 1 + }) + } else if ('1080zyk' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 2 + }) + } else if ('kuaikan' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 3 + }) + } else if ('lzm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 4 + }) + } else if ('ffm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 5 + }) + } else if ('snm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 6 + }) + } else if ('qhm3u8' == key) { + arr.push({ + flag: name[key], + url: playMap[key], + sort: 7 + }) + } else { + arr.push({ + flag: name[key] ? name[key] : key, + url: playMap[key], + sort: 8 + }) + } + } + arr.sort((a, b) => a.sort - b.sort); + let playFrom = []; + let playList = []; + arr.map(val => { + if (!/undefined/.test(val.flag)) { + playFrom.push(val.flag); + playList.push(val.url); + } + }) + VOD.vod_play_from = playFrom.join('$$$'); + VOD.vod_play_url = playList.join('$$$'); + } else { + VOD.vod_play_from = node.vod_play_from; + VOD.vod_play_url = node.vod_play_url; + } + } catch (e) { + log("获取二级详情页发生错误:" + e.message); + } + `, + 搜索:`js: + let d = []; + let jsondata = []; + let videoList = []; + if (/v1\\.vod/.test(HOST)) { + input = (HOST + '/'+ input.split('/')[3]).replace('/search','').replace('text=','wd=').replace('pg=','page='); + jsondata = JSON.parse(request(input)); + videoList = jsondata.data.list; + } else { + input = HOST + '/'+ input.split('/')[3] + jsondata = JSON.parse(request(input)); + videoList = jsondata.list || jsondata.data; + } + // log('videoList =========> '+stringify(videoList)); + videoList.forEach(it => { + d.push({ + url:it.vod_id, + title:it.vod_name, + img:it.vod_pic.startsWith('http') ? it.vod_pic : it.vod_pic.startsWith('//') ? 'https:' + it.vod_pic : it.vod_pic.startsWith('/') ? getHome(HOST) + it.vod_pic : getHome(HOST) + '/' + it.vod_pic, + desc:it.vod_remarks, + }); + }); + setResult(d); + `, +} \ No newline at end of file diff --git a/js/路漫漫.js b/js/路漫漫.js new file mode 100644 index 0000000..fda236c --- /dev/null +++ b/js/路漫漫.js @@ -0,0 +1,38 @@ +var rule = { + title:'路漫漫', + // host:'https://www.96ba.com', + host:'https://www.wzwt369.com', + // url:'/vod/show/id/fyclass/page/fypage.html', + url:'/vod/show/id/fyclassfyfilter.html', + filterable:1,//是否启用分类筛选, + filter_url:'{{fl.by}}/page/fypage{{fl.year}}', + filter:{ + "ribendongman":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"更早","v":"/year/2013-1980"}]},{"key":"by","name":"排序","value":[{"n":"更新","v":"/by/time"},{"n":"人气","v":"/by/hits"},{"n":"评分","v":"/by/score"},{"n":"点赞","v":"/by/up"}]}], + "guochandongman":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"更早","v":"/year/2013-1980"}]},{"key":"by","name":"排序","value":[{"n":"更新","v":"/by/time"},{"n":"人气","v":"/by/hits"},{"n":"评分","v":"/by/score"},{"n":"点赞","v":"/by/up"}]}], + "oumeidongman":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"更早","v":"/year/2013-1980"}]},{"key":"by","name":"排序","value":[{"n":"更新","v":"/by/time"},{"n":"人气","v":"/by/hits"},{"n":"评分","v":"/by/score"},{"n":"点赞","v":"/by/up"}]}], + "ribendonghuadianying":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"更早","v":"/year/2013-1980"}]},{"key":"by","name":"排序","value":[{"n":"更新","v":"/by/time"},{"n":"人气","v":"/by/hits"},{"n":"评分","v":"/by/score"},{"n":"点赞","v":"/by/up"}]}], + "guochandonghuadianying":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"更早","v":"/year/2013-1980"}]},{"key":"by","name":"排序","value":[{"n":"更新","v":"/by/time"},{"n":"人气","v":"/by/hits"},{"n":"评分","v":"/by/score"},{"n":"点赞","v":"/by/up"}]}], + "oumeidonghuadianying":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"更早","v":"/year/2013-1980"}]},{"key":"by","name":"排序","value":[{"n":"更新","v":"/by/time"},{"n":"人气","v":"/by/hits"},{"n":"评分","v":"/by/score"},{"n":"点赞","v":"/by/up"}]}] + }, + searchUrl:'/vod/search/page/fypage/wd/**.html', + searchable: 2,//是否启用全局搜索, + quickSearch: 0,//是否启用快速搜索, + headers: { + 'User-Agent': 'MOBILE_UA', + }, + class_parse:'.container&&.tag.text-light;a&&Text;a&&href;.*/(.*?).html', + play_parse: true, + lazy:'js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)]*>/g, ''); + VOD.vod_content = VOD.vod_content.replace(/ /g, '').replace(/<[^>]*>/g, ''); + } + `, + /** + * 搜索解析 过滤部分资源 + */ + // 搜索: 'json:list;vod_name;vod_pic;vod_remarks;vod_id', + 搜索: `js: + let d = []; + // 忽略分类 + let cate_exclude = '34,35,45'; + let html = request(input); + let list = JSON.parse(html).list; + list.forEach(function (it){ + if(!cate_exclude.match(it.type_id)){ + d.push({ + title:it.vod_name, + img:it.vod_pic, + desc:it.vod_remarks, + url:it.vod_id + }); + } + }); + setResult(d); + `, +} diff --git a/js/零柒影视.js b/js/零柒影视.js new file mode 100644 index 0000000..4f846f2 --- /dev/null +++ b/js/零柒影视.js @@ -0,0 +1,23 @@ +var rule={ + title:'零柒影视', + host:'https://07vod.fun', + url:'/index.php/vod/type/id/fyclass/page/fypage.html', + searchUrl:'/index.php/vod/search/page/fypage/wd/**.html', + searchable:2,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + filterable:0,//是否启用分类筛选, + headers:{ + 'User-Agent':'UC_UA', + }, + class_name:'电影&电视剧&番剧&动漫&国产剧&港台剧&日韩剧&欧美剧', + class_url:'1&2&20&4&13&14&15&16', + + play_parse:true, + lazy:'', + limit:6, + 推荐:'ul.fed-list-info.fed-part-rows;li;a.fed-list-title&&Text;a&&data-original;.fed-list-remarks&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'.fed-list-info&&li;a.fed-list-title&&Text;a&&data-original;.fed-list-remarks&&Text;a&&href', + 二级:{"title":"h1&&Text;.fed-mute&&Text","img":".fed-list-info&&a&&data-original","desc":".fed-deta-content&&.fed-part-rows&&li:eq(-1)&&Text;.fed-deta-content&&.fed-part-rows&&li:eq(-2)&&Text;.fed-deta-content&&.fed-part-rows&&li:eq(-3)&&Text;.fed-deta-content&&.fed-part-rows&&li:eq(0)&&Text;.fed-deta-content&&.fed-part-rows&&li:eq(1)&&Text","content":".fed-deta-content&&.fed-part-rows&&li:eq(6)&&Text","tabs":".fed-drop-boxs&&.fed-part-rows li","lists":".fed-play-item:eq(#id)&&.fed-part-rows:eq(1) li"}, + 搜索:'.fed-list-deta;h1&&Text;.fed-lazy&&data-original;.fed-list-remarks&&Text;a&&href;.fed-deta-content&&Text', +} diff --git a/js/麻花影视.js b/js/麻花影视.js new file mode 100644 index 0000000..ec79547 --- /dev/null +++ b/js/麻花影视.js @@ -0,0 +1,24 @@ +var rule = { + title:'麻花影视', + host:'https://www.mhyyy.com', + // homeUrl:'/', + url:'/show/fyclass/page/fypage.html', + searchUrl:'/search/page/fypage/wd/**.html', + searchable:2,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + filterable:0,//是否启用分类筛选, + headers:{//网站的请求头,完整支持所有的,常带ua和cookies + 'User-Agent':'MOBILE_UA', + // "Cookie": "searchneed=ok" + }, + class_name:'电影&电视剧&综艺&动漫', + class_url:'mhdy&mhds&mhzy&mhdm', + play_parse:true, + lazy:'', + limit:6, + 推荐:'.module-items;.module-poster-item;a&&title;img&&data-original;.module-item-note&&Text;a&&href', + double:true, // 推荐内容是否双层定位 + 一级:'.module-poster-item;a&&title;img&&data-original;.module-item-note&&Text;a&&href', + 二级:{"title":"h1&&Text;.module-info-tag-link:eq(2)&&Text","img":".ls-is-cached.lazy.lazyload&&data-original","desc":".module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(2)&&.module-info-item-content&&Text;.module-info-content&&.module-info-item:eq(1)&&.module-info-item-content&&Text","content":".module-info-introduction-content&&Text","tabs":".module-tab-items-box:eq(0)&&.module-tab-item","lists":".module-list:eq(#id)&&.module-play-list-content a"}, + 搜索:'.module-card-item.module-item;.module-card-item-title&&Text;img&&data-original;.module-item-note&&Text;a.play-btn-o&&href', +}