Signed-off-by: guoting <guot55@163.com>
This commit is contained in:
guoting 2023-12-25 03:21:27 +00:00 committed by Gitee
parent b4966b4914
commit 0868a0f8bb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
20 changed files with 1072 additions and 0 deletions

21
js/喜马拉雅.js Normal file
View File

@ -0,0 +1,21 @@
var rule = {
title: '喜马拉雅',
host: 'https://www.ximalaya.com',
homeUrl: '/channel/7/',//网站的首页链接,用于分类获取和推荐获取
url: '/revision/metadata/v2/channel/albums?pageNum=fypage&pageSize=50&sort=1&metadata=&groupId=fyclass',
detailUrl: '/revision/album/v1/getTracksList?albumId=fyid',//二级详情拼接链接(json格式用)
searchUrl: '/revision/search/main?core=album&kw=**&page=fypage&spellchecker=true&rows=20&condition=relation&device=iPhone&fq=&paidFilter=false',
searchable: 2,
quickSearch: 0,
headers: {
'User-Agent': 'PC_UA'
},
class_parse: '.first .channel;a&&Text;a&&href;.*/(.*?)/',
play_parse: true,
lazy: 'js:let result={};let Play_Ref="https://www.ximalaya.com/sound/"+input+"/";let url="https://www.ximalaya.com/revision/play/v1/audio?id="+input+"&ptype=1";let html=request(url,{headers:{"Referer":Play_Ref,"User-Agent":PC_UA}});let jo=JSON.parse(html);let purl=jo["data"]["src"];result["parse"]=0;result["playUrl"]="";result["url"]=purl;result["header"]="";input=result;',
limit: 6,
推荐: 'js:let d=[];function home_lists(){let lists=[];let html=request(input);let jo=JSON.parse(html.match(/window.__INITIAL_STATE__ =(.*?);</)[1]);let vodList=jo.store.ChannelDetailPageV2.channelAlbumsInfo.albums;vodList.forEach(function(vod){let aid=vod["albumId"];let title=vod["albumTitle"];let img=/http/.test(vod.albumCoverPath)?vod["albumCoverPath"]:"https://imagev2.xmcdn.com/"+vod["albumCoverPath"];let remark=vod["albumListenCount"]+"❤️"+vod["intro"];lists.push({"vod_id":aid,"vod_name":title,"vod_pic":img,"vod_remarks":remark})});return lists}VODS=home_lists();',
一级: 'js:let d=[];function cate_lists(){let lists=[];let html=request(input);let jo=JSON.parse(html);let vodList=jo.data.albums;vodList.forEach(function(vod){if(vod["vipType"]!==2){let aid=vod["albumId"];let title=vod["albumTitle"];let img=/http/.test(vod.albumCoverPath)?vod["albumCoverPath"]:"https://imagev2.xmcdn.com/"+vod["albumCoverPath"];let remark=vod["intro"];lists.push({"vod_id":aid,"vod_name":title,"vod_pic":img,"vod_remarks":remark})}});return lists}VODS=cate_lists();',
二级: 'js:let d=[];let html=request(input);let json=JSON.parse(html).data.tracks[0];VOD={vod_id:"",vod_url:input,vod_name:"",type_name:"",vod_actor:"",vod_year:"",vod_director:"",vod_area:"",vod_content:"",vod_remarks:"",vod_pic:""};VOD.vod_id=json.albumId;VOD.vod_name=json.albumTitle;VOD.vod_pic=/http/.test(json.albumCoverPath)?json.albumCoverPath:"https://imagev2.xmcdn.com/"+json.albumCoverPath;VOD.vod_year=(json.createDateFormat+"").split("-")[0];VOD.vod_actor=json.anchorName;VOD.vod_director=json.anchorName;VOD.vod_content=json.albumTitle;let playlists=[];let listUrl="https://www.ximalaya.com/revision/album/v1/getTracksList?albumId="+json.albumId+"&pageSize=100&pageNum=1";let data=JSON.parse(request(listUrl)).data;let total=data.trackTotalCount;playlists=data.tracks;if(total>100){for(let i=2;i<total/100+1;i++){let listUrl="https://www.ximalaya.com/revision/album/v1/getTracksList?albumId="+json.albumId+"&pageSize=100&pageNum="+i;let data=JSON.parse(request(listUrl)).data;playlists=playlists.concat(data.tracks)}}playlists.forEach(function(it){d.push({title:"第"+it.index+"集",desc:it.albumTitle||it.anchorName||it.length,img:/http/.test(it.albumCoverPath)?it.albumCoverPath:"https://imagev2.xmcdn.com/"+it.albumCoverPath,url:it.trackId})});VOD.vod_play_from="ximalaya";VOD.vod_play_url=d.map(function(it){return it.title+"$"+it.url}).join("#");',
搜索: 'json:data.album.docs;title;coverPath;intro;albumId',
}

23
js/小品网.js Normal file
View File

@ -0,0 +1,23 @@
var rule = {
title:'小品网',
host:'http://www.xiaopin.tv',
url:'/?cate=fyclass&page=fypage',
searchUrl:'/search.php?q=**',
searchable:2,
quickSearch:0,
filterable:0,
headers:{
'User-Agent':'MOBILE_UA'
},
timeout:5000,
class_name:'小品&相声&二人转&春晚小品',
class_url:'2&1&3&14',
play_parse:true,
lazy:'',
limit:6,
double:true,
推荐:'.itemlist;ul&&li;.itemname&&a&&Text;.itemimg img&&src;*;*',
一级:'.catecon&&ul&&li;.catename&&a&&Text;img&&src;.icoplay&&Text;a&&href',
二级:'*',
搜索:'*',
}

22
js/小宝影院.js Normal file
View File

@ -0,0 +1,22 @@
var rule={
title:'小宝影院',
host:'https://xiaoheimi.net',
url:'/index.php/vod/show/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_parse:'.fed-pops-navbar&&ul.fed-part-rows&&a.fed-part-eone:gt(0):lt(5);a&&Text;a&&href;.*/(.*?).html',
class_parse:'.myui-header__menu&&li:gt(0):lt(6);a&&Text;a&&href;.*/(.*?).html',
play_parse:true,
lazy:'',
limit:6,
推荐:'ul.myui-vodlist.clearfix;li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
double:true, // 推荐内容是否双层定位
一级:'.myui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
二级:{"title":".myui-content__detail .title&&Text;.text-muted:eq(-1)&&Text","img":".myui-content__thumb .lazyload&&data-original","desc":".text-muted:eq(-1)&&Text;.text-muted:eq(-1)&&Text;.myui-content__detail p:eq(1)&&Text;.myui-content__detail p:eq(3)&&Text;.myui-content__detail p:eq(4)&&Text","content":".content&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
搜索:'#searchList li;a&&title;.lazyload&&data-original;.myui-vodlist__thumb&&span:eq(3)&&Text;a&&href;.text-muted:eq(-1)&&Text',
}

27
js/小狗影院.js Normal file
View File

@ -0,0 +1,27 @@
muban.首图.二级.title = 'h1&&Text;.data:eq(0)--span&&Text';
muban.首图.二级.desc = '.score&&Text;;;.data:eq(2)--span&&Text;.data:eq(3)--span&&Text';
var rule={
title:'小狗影院',
模板:'首图',
host:'https://pupvod.com',
// url:'/pupshow/fyclassppppppppfypageppp.html',
url:'/pupshow/fyclassfyfilter.html',
filterable:1,//是否启用分类筛选,
filter_url:'{{fl.area}}p{{fl.by}}p{{fl.class}}p{{fl.lang}}ppppfypageppp{{fl.year}}',
filter:{
"moviep":[{"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":"网络电影"},{"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":"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":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"法语","v":"法语"},{"n":"德语","v":"德语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
"TVshowp":[{"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":"剧情"},{"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":"俄罗斯"},{"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":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"法语","v":"法语"},{"n":"德语","v":"德语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
"Varietyp":[{"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":"印度"},{"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":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
"Animep":[{"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":"神魔"},{"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":"俄罗斯"},{"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":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"法语","v":"法语"},{"n":"德语","v":"德语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
"tiyup":[{"key":"class","name":"剧情","value":[{"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":"俄罗斯"},{"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":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
},
searchUrl: '/pupsearch/**ppppppppppfypageppp.html',
// headers: {
// 'User-Agent': 'PC_UA',
// },
class_parse: '.myui-header__menu li.hidden-sm:gt(0):lt(6);a&&Text;a&&href;.*/(.*?).html',
lazy:"js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);var url=html.url;if(html.encrypt=='1'){url=unescape(url)}else if(html.encrypt=='2'){url=unescape(base64Decode(url))}if(/m3u8|mp4/.test(url)){input=url}else{input}",
推荐: '*',
double: false, // 推荐内容是否双层定位
一级: '.myui-vodlist li;a&&title;a&&data-original;.tag&&Text;a&&href',
}

View File

@ -0,0 +1,72 @@
let header = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36',
'Referer': 'https://gitcafe.net/alipaper/'
};
const cates = '华语电视$hyds#日韩电视$rhds#欧美电视$omds#其他电视$qtds#华语电影$hydy#日韩电影$rhdy#欧美电影$omdy#其他电影$qtdy#华语动漫$hydm#日韩动漫$rhdm#欧美动漫$omdm#纪录片$jlp#综艺片$zyp#教育培训$jypx#其他视频$qtsp#华语音乐$hyyy#日韩音乐$rhyy#欧美音乐$omyy#其他音乐$qtyy';
let homeJson = {}
function init(ext) {
let url = 'https://gitcafe.net/alipaper/home.json?v=1692110598065';
let res = req(url, {
headers: header,
method: 'GET'
});
homeJson = JSON.parse(res.content);
}
function home(filter) {
const data = cates.split('#');
let classes = [];
for (const item of data) {
const cate = item.split('$');
classes.push({
'type_id': cate[1],
'type_name': cate[0]
});
}
console.log(JSON.stringify(classes));
return JSON.stringify({
'class': classes
});
}
function homeVod(params) {
return category('hyds');
}
function category(tid, pg, filter, extend) {
let videos = [];
const data = homeJson.data[tid].catdata;
for (const v of data) {
const video = {
'vod_id': 'push://https://www.aliyundrive.com/s/' + v.alikey,
'vod_name':v.title
};
videos.push(video);
}
return JSON.stringify({
'page': 1,
'pagecount':1,
'limit': 1,
'total': 1,
'list': videos,
'type_des': ''
});
}
__JS_SPIDER__ = {
init: init,
home: home,
homeVod: homeVod,
category: category,
detail: null,
play: null,
search: null,
extResult: null
}

64
js/异世界动漫.js Normal file
View File

@ -0,0 +1,64 @@
var rule={
title:'异世界动漫',
host:'http://www.ysjdm.net',
homeUrl:'/index.php/vod/show/id/22.html',
// url:'/index.php/vod/show/class/fyclass/id/20/page/fypage.html',
url:'/index.php/vod/show/fyclassfyfilter.html',
filterable:1,
filter_url:'{{fl.type}}/id/20/page/fypage{{fl.year}}',
filter: {
"area/日本":[{"key":"type","name":"类型","value":[{"n":"全部","v":""},{"n":"OVA","v":"/class/OVA"},{"n":"剧场版","v":"/class/剧场版"},{"n":"无修","v":"/class/BD无修"},{"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/运动"},{"n":"耽美","v":"/class/耽美"},{"n":"其他","v":"/class/其他"}]},{"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"},{"n":"2009","v":"/year/2009"},{"n":"2008","v":"/year/2008"}]}],
"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"},{"n":"2009","v":"/year/2009"},{"n":"2008","v":"/year/2008"}]}]
},
searchUrl:'/index.php/vod/search/page/fypage/wd/**.html',
searchable:2,
quickSearch:0,
headers:{
'User-Agent':'MOBILE_UA'
},
timeout:5000,//网站的全局请求超时,默认是3000毫秒
class_name:'日漫&国漫',
class_url:'area/日本&area/中國',
play_parse:true,
lazy:`js:
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
var url = html.url;
var from = html.from;
if (html.encrypt == '1') {
url = unescape(url)
} else if (html.encrypt == '2') {
url = unescape(base64Decode(url))
}
if (/m3u8|mp4/.test(url)) {
input = url
} else {
var MacPlayerConfig={};
eval(fetch(HOST + "/static/js/playerconfig.js").replace('var Mac','Mac'));
var jx = MacPlayerConfig.player_list[from].parse;
if (jx == '') {
jx = MacPlayerConfig.parse
};
if (jx.startsWith("/")) {
jx = "https:" + jx;
}
input={jx:0,url:jx+url,parse:1,
header: JSON.stringify({
'referer': 'https://ysjdm.net/'
})}
}
`,
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',
推荐:'*',
一级:'.vodlist_wi&&li;.lazyload&&title;.lazyload&&data-original;.pic_text&&Text;a&&href',
二级:{
"title": "h2&&Text;li.data--span:eq(0)&&Text",
"img": ".lazyload&&data-original",
"desc": "li.data--span:eq(1)&&Text;;;li.data--span:eq(2)&&Text;li.data--span:eq(3)&&Text",
"content": ".full_text&&span&&Text",
"tabs": ".play_source_tab",
"tab_text": "a--i&&Text",
"lists": ".content_playlist:eq(#id)&&a"
},
搜索:'li.searchlist_item;*;*;*;*',
}

4
js/影视工厂.js Normal file
View File

@ -0,0 +1,4 @@
var rule = Object.assign(muban.首图,{
title:'影视工厂',
host:'https://www.ysgc.cc',
});

69
js/怡萱动漫.js Normal file
View File

@ -0,0 +1,69 @@
// 发布页 https://acgfans.org/pub.html
var rule={
title:'怡萱动漫',
// host:'https://www.yxdmlove.com',
host:'https://acgfans.org/pub.html',
hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src = jsp.pdfh(html,"p:eq(0)&&a&&Text");print(src);HOST=src',//网页域名根动态抓取js代码。通过HOST=赋值
// url:'/category.html?channel=17&zhonglei=fyclass&orderby=pubdate&totalresult=2999&pageno=fypage',
url:'/category.html?channel=17&zhonglei=fyclassfyfilter&pageno=fypage',
filterable:1,//是否启用分类筛选,
filter_url:'&{{fl.by or "orderby=pubdate"}}&{{fl.year}}&{{fl.area}}&{{fl.sta}}&{{fl.class}}',
filter: {
"TV":[{"key":"sta","name":"进度","value":[{"n":"全部","v":""},{"n":"连载中","v":"status=连载中"},{"n":"已完结","v":"status=已完结"},{"n":"未播放","v":"status=未播放"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"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"},{"n":"更早","v":"year=2010前"}]},{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"冒险","v":"jqlx=冒险"},{"n":"热血","v":"jqlx=热血"},{"n":"爱情","v":"jqlx=爱情"},{"n":"搞笑","v":"jqlx=搞笑"},{"n":"后宫","v":"jqlx=后宫"},{"n":"校园","v":"jqlx=校园"},{"n":"机战","v":"jqlx=机战"},{"n":"幻想","v":"jqlx=幻想"},{"n":"科幻","v":"jqlx=科幻"},{"n":"竞技","v":"jqlx=竞技"},{"n":"百合","v":"jqlx=百合"},{"n":"耽美","v":"jqlx=耽美"},{"n":"悬疑","v":"jqlx=悬疑"},{"n":"剧情","v":"jqlx=剧情"},{"n":"战争","v":"jqlx=战争"},{"n":"恐怖","v":"jqlx=恐怖"},{"n":"运动","v":"jqlx=运动"},{"n":"动作","v":"jqlx=动作"},{"n":"童话","v":"jqlx=童话"},{"n":"历史","v":"jqlx=历史"},{"n":"真人","v":"jqlx=真人"},{"n":"女性向","v":"jqlx=女性向"},{"n":"泡面番","v":"jqlx=泡面番"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"orderby=pubdate"},{"n":"热度","v":"orderby=click"}]}],
"剧场版":[{"key":"sta","name":"进度","value":[{"n":"全部","v":""},{"n":"连载中","v":"status=连载中"},{"n":"已完结","v":"status=已完结"},{"n":"未播放","v":"status=未播放"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"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"},{"n":"更早","v":"year=2010前"}]},{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"冒险","v":"jqlx=冒险"},{"n":"热血","v":"jqlx=热血"},{"n":"爱情","v":"jqlx=爱情"},{"n":"搞笑","v":"jqlx=搞笑"},{"n":"后宫","v":"jqlx=后宫"},{"n":"校园","v":"jqlx=校园"},{"n":"机战","v":"jqlx=机战"},{"n":"幻想","v":"jqlx=幻想"},{"n":"科幻","v":"jqlx=科幻"},{"n":"竞技","v":"jqlx=竞技"},{"n":"百合","v":"jqlx=百合"},{"n":"耽美","v":"jqlx=耽美"},{"n":"悬疑","v":"jqlx=悬疑"},{"n":"剧情","v":"jqlx=剧情"},{"n":"战争","v":"jqlx=战争"},{"n":"恐怖","v":"jqlx=恐怖"},{"n":"运动","v":"jqlx=运动"},{"n":"动作","v":"jqlx=动作"},{"n":"童话","v":"jqlx=童话"},{"n":"历史","v":"jqlx=历史"},{"n":"真人","v":"jqlx=真人"},{"n":"女性向","v":"jqlx=女性向"},{"n":"泡面番","v":"jqlx=泡面番"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"orderby=pubdate"},{"n":"热度","v":"orderby=click"}]}],
"OVA":[{"key":"sta","name":"进度","value":[{"n":"全部","v":""},{"n":"连载中","v":"status=连载中"},{"n":"已完结","v":"status=已完结"},{"n":"未播放","v":"status=未播放"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"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"},{"n":"更早","v":"year=2010前"}]},{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"冒险","v":"jqlx=冒险"},{"n":"热血","v":"jqlx=热血"},{"n":"爱情","v":"jqlx=爱情"},{"n":"搞笑","v":"jqlx=搞笑"},{"n":"后宫","v":"jqlx=后宫"},{"n":"校园","v":"jqlx=校园"},{"n":"机战","v":"jqlx=机战"},{"n":"幻想","v":"jqlx=幻想"},{"n":"科幻","v":"jqlx=科幻"},{"n":"竞技","v":"jqlx=竞技"},{"n":"百合","v":"jqlx=百合"},{"n":"耽美","v":"jqlx=耽美"},{"n":"悬疑","v":"jqlx=悬疑"},{"n":"剧情","v":"jqlx=剧情"},{"n":"战争","v":"jqlx=战争"},{"n":"恐怖","v":"jqlx=恐怖"},{"n":"运动","v":"jqlx=运动"},{"n":"动作","v":"jqlx=动作"},{"n":"童话","v":"jqlx=童话"},{"n":"历史","v":"jqlx=历史"},{"n":"真人","v":"jqlx=真人"},{"n":"女性向","v":"jqlx=女性向"},{"n":"泡面番","v":"jqlx=泡面番"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"orderby=pubdate"},{"n":"热度","v":"orderby=click"}]}],
"其他":[{"key":"sta","name":"进度","value":[{"n":"全部","v":""},{"n":"连载中","v":"status=连载中"},{"n":"已完结","v":"status=已完结"},{"n":"未播放","v":"status=未播放"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"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"},{"n":"更早","v":"year=2010前"}]},{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"冒险","v":"jqlx=冒险"},{"n":"热血","v":"jqlx=热血"},{"n":"爱情","v":"jqlx=爱情"},{"n":"搞笑","v":"jqlx=搞笑"},{"n":"后宫","v":"jqlx=后宫"},{"n":"校园","v":"jqlx=校园"},{"n":"机战","v":"jqlx=机战"},{"n":"幻想","v":"jqlx=幻想"},{"n":"科幻","v":"jqlx=科幻"},{"n":"竞技","v":"jqlx=竞技"},{"n":"百合","v":"jqlx=百合"},{"n":"耽美","v":"jqlx=耽美"},{"n":"悬疑","v":"jqlx=悬疑"},{"n":"剧情","v":"jqlx=剧情"},{"n":"战争","v":"jqlx=战争"},{"n":"恐怖","v":"jqlx=恐怖"},{"n":"运动","v":"jqlx=运动"},{"n":"动作","v":"jqlx=动作"},{"n":"童话","v":"jqlx=童话"},{"n":"历史","v":"jqlx=历史"},{"n":"真人","v":"jqlx=真人"},{"n":"女性向","v":"jqlx=女性向"},{"n":"泡面番","v":"jqlx=泡面番"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"orderby=pubdate"},{"n":"热度","v":"orderby=click"}]}]
},
// filter_def:{
// TV:{by:'orderby=pubdate'},
// 剧场版:{by:'orderby=pubdate'},
// OVA:{by:'orderby=pubdate'},
// 其他:{by:'orderby=pubdate'}
// },
searchUrl:'/search.html?keyword=**&PageNo=fypage',
searchable:2,//是否启用全局搜索,
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
'User-Agent': 'PC_UA',
},
class_name:'TV&剧场版&OVA&其他',
class_url:'TV&剧场版&OVA&其他',
play_parse: true,
lazy:'',
limit:6,
// 推荐:'.dhnew.adj li;*;*;*;*',
推荐:'.dhnew.adj li;a&&title;img&&src;p:eq(-1)&&Text;a&&href',
// 一级:'.dhnew li;a&&title;img&&src;p:eq(-1)&&Text;a&&href',
一级:`js:
let d = [];
pdfh = jsp.pdfh;pdfa = jsp.pdfa;pd = jsp.pd;
let html = '';
let totalresult = getItem("totalresult_" + MY_CATE, '')
if (totalresult == '') {
html = request(input);
totalresult = pdfh(html, ".pageinfo&&strong&&Text");
setItem("totalresult_" + MY_CATE, totalresult)
}
input += '&totalresult=' + getItem("totalresult_" + MY_CATE, '');
html = request(input);
let list = pdfa(html, ".dhnew&&li");
list.forEach(it => {
d.push({
title: pdfh(it, "a&&title"),
desc: pdfh(it, "p:eq(-1)&&Text"),
pic_url: pd(it, "img&&src"),
url: pd(it, "a&&href")
})
});
setResult(d)
`,
二级:{
"title":"h1&&Text;.dhxx p:eq(4)&&Text",
"img":".anime-img&&img&&src",
"desc":".info1-left li:eq(1)&&Text;.dhxx p:eq(3)&&Text;.dhxx p:eq(2)&&Text;.info1-left li:eq(0)&&Text;.info1-left li:eq(2)&&Text",
"content":".info2--strong&&Text",
"tabs":".ol-select li",
"lists":".ol-content:eq(#id) li"
},
// 搜索:'*;*;*;p:eq(3)&&Text;*',
搜索:'.dhnew li;a&&title;img&&src;p:eq(3)&&Text;a&&href',
}

18
js/新思古影院.js Normal file
View File

@ -0,0 +1,18 @@
var rule={
title:'新思古影院',
host:'https://aloooo.com',
url:'/index.php/vodshow/fyclass--------fypage---.html',
searchUrl:'/index.php/vodsearch/**----------fypage---.html',
searchable:2,//是否启用全局搜索,
quickSearch:0,//是否启用快速搜索,
filterable:0,//是否启用分类筛选,
//class_parse:'.nav-menu-items&&li;a&&Text;a&&href;.*/(.*?).html',
//cate_exclude:'演员',
class_name:'电影&电视剧&综艺&动漫&B站&国产剧&港台剧&日韩剧&欧美剧',
class_url:'1&2&3&4&26&14&15&16&24',
推荐:'.module-poster-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
一级:'.module-poster-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
//二级:{"title":"h1&&Text;","img":".lazyload&&data-original","desc":";;.module-info-item:eq(4) p&&Text;.module-info-item:eq(3) div&&Text;.module-info-item:eq(1) a&&Text","content":".show-desc&&Text","tabs":'#y-playList&&span',"lists":".module-play-list:eq(#id) a"},
二级:{"title":"h1&&Text;.module-info-tag-link:eq(2)&&Text","img":".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-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href',
}

96
js/新片场.js Normal file
View File

@ -0,0 +1,96 @@
var rule = {
title:'新片场',
host:'https://www.xinpianchang.com',
homeUrl:'/discover/article-0-0-all-all-0-0-pick',
// url: '/discover/article-fyclass-0-all-all-0-0-hot?page=fypage',
url: '/discover/article-fyclass-0-fyfilter?page=fypage',
filterable:1,//是否启用分类筛选,
filter_url:'{{fl.time or "all"}}-{{fl.dpi or "all"}}-{{fl.pr or "0"}}-0-{{fl.by or "score"}}',
filter:{
"0":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"1":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"31":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"16":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"76":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"61":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"141":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"81":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"142":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"143":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"144":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"129":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"145":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"29":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"49":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"69":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"27":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}],
"146":[{"key":"by","name":"排序","value":[{"n":"人气飙升","v":"score"},{"n":"编辑精选","v":"pick"},{"n":"最新发布","v":"addtime"}]},{"key":"time","name":"时长","value":[{"n":"全部","v":"all"},{"n":"1分钟以下","v":"0T60"},{"n":"1-5分钟","v":"60T300"},{"n":"5-10分钟","v":"300T600"},{"n":"10-30分钟","v":"600T1800"}]},{"key":"pr","name":"比例","value":[{"n":"全部","v":"0"},{"n":"横屏","v":"1"},{"n":"竖屏","v":"2"}]},{"key":"dpi","name":"清晰","value":[{"n":"全部","v":"all"},{"n":"2K","v":"2k"},{"n":"4K","v":"4k"}]}]
},
searchUrl: '/search?kw=**',
searchable:2,//是否启用全局搜索,
quickSearch:0,//是否启用快速搜索,
headers:{
'User-Agent':'PC_UA'
},
timeout:5000,//网站的全局请求超时,默认是3000毫秒
class_parse: '.flex-wrap.ml-8&&.rounded;.px-3&&Text;a&&href;.*/\\w+-(\\d+)',
play_parse:true,
// lazy:`js:
// let html=request(input);
// let json=JSON.parse(jsp.pdfh(html, "#__NEXT_DATA__&&Html")).props.pageProps.detail.video.content;
// input = json.progressive[0].https_url;
// `,
limit:6,
double: true, // 推荐内容是否双层定位
推荐: '*',
// 一级: 'body&&.fAPlpj;img&&alt;img&&src;.px-3.text-xs&&Text;a&&href',
一级:`js:
var d = [];
pdfh = jsp.pdfh;
pdfa = jsp.pdfa;
pd = jsp.pd;
var html = request(input);
var dw = pdfh(html,'head&&style:eq(2)&&Html').match(/.*(\\..*?):hover/)[1];
log('dw ===> ' + dw)
let list = pdfa(html, 'body&&'+dw);
list.forEach(it => {
d.push({
title: pdfh(it, "img&&alt"),
desc: '▶' + pdfh(it, ".gzlhEC&&li:eq(0)&&span:eq(1)&&Text")+ ' 👥' + pdfh(it, ".gzlhEC&&li:eq(1)&&span:eq(1)&&Text"),
pic_url: pd(it, "img&&src"),
url: pd(it, "a&&href")
})
});
setResult(d)
`,
二级:`js:
try {
let json = JSON.parse(pdfh(request(input),'#__NEXT_DATA__&&Html'));
let node = json.props.pageProps.detail;
VOD = {
vod_id: node.id,
vod_name: node.title,
vod_pic: node.cover,
type_name: node.editor_tags.map(function(it) {
return it.name
}).join("/"),
vod_year: new Date(node.publish_time * 1000).getFullYear(),
vod_area: node.author.userinfo.location.country.name,
vod_director: node.author.userinfo.username,
vod_content: node.content.replaceAll('\\n','/').strip()
};
let episodes = node.video.content.progressive;
if (typeof play_url === "undefined") {
var play_url = ""
}
let vod_play_url = episodes.map(function(it) {
return it.profile + "$" + it.https_url
}).join("#")
VOD.vod_play_from = '道长在线';
VOD.vod_play_url = vod_play_url
} catch (e) {
log("获取二级详情页发生错误:" + e.message)
}
`,
搜索: '*',
}

39
js/新视觉影视.js Normal file

File diff suppressed because one or more lines are too long

24
js/星辰.js Normal file
View File

@ -0,0 +1,24 @@
muban.首图2.二级.desc = '.data:eq(0)&&Text;;;.data--span:eq(2)&&Text;.data--span:eq(1)&&Text';
muban.首图2.二级.tabs = '.stui-pannel__head h3';
var rule = {
title:'星辰',
模板:'首图2',
host:'http://www.40yb.com',
// url:'/fyclass/indexfypage.html[/fyclass/index.html]',
url:'/fyfilter/indexfypage.html[/fyfilter/index.html]',
filterable:1,//是否启用分类筛选,
filter_url:'{{fl.cateId}}',
filter:{
"dianying":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"dianying"},{"n":"动作片","v":"dongzuopian"},{"n":"爱情片","v":"aiqingpian"},{"n":"科幻片","v":"kehuanpian"},{"n":"恐怖片","v":"kongbupian"},{"n":"喜剧片","v":"xijupian"},{"n":"剧情片","v":"juqingpian"}]}],
"dianshiju":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"dianshiju"},{"n":"国产剧","v":"guochanju"},{"n":"港台剧","v":"tangtaiju"},{"n":"欧美剧","v":"oumeiju"},{"n":"日韩剧","v":"rihanju"}]}]
},
filter_def:{
dianying:{cateId:'dianying'},
dianshiju:{cateId:'dianshiju'},
zongyi:{cateId:'zongyi'},
dongman:{cateId:'dongman'}
},
// searchUrl:'/search.php?page=fypage&searchword=**&searchtype=',
searchUrl:'/search.php#searchword=**;post',
class_parse:'.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;.*/(.*?)/.*html',
}

40
js/玄天.js Normal file
View File

@ -0,0 +1,40 @@
muban.首图2.二级.title = 'h1&&Text;.data--span:eq(3)&&Text';
muban.首图2.二级.desc = '.data:eq(0)&&Text;;;.data--span:eq(1)&&Text;.data--span:eq(2)&&Text';
muban.首图2.二级.重定向 = 'js:let url = jsp.pd(html,"a.btn-primary&&href");log(url);html = request(url)';
muban.首图2.二级.tabs = '.dropdown-menu&&li';
var rule = {
title:'玄天(悠久影院)',
模板:'首图2',
host:'https://m.7caa.com',
// url:'/list/fyclass-fypage.html',
// url:'/vshow/fyclass--------fypage---.html',
url:'/vshow/fyclassfyfilter.html',
filterable:1,//是否启用分类筛选,
filter_url:'-{{fl.area}}-{{fl.by or "time"}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}',
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":"悬疑"}]},{"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":"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"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
"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":"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":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]},{"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":"求职"}]},{"key":"area","name":"地区","value":[{"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"}]},{"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":"战争"},{"n":"少年","v":"少年"},{"n":"少女","v":"少女"},{"n":"社会","v":"社会"},{"n":"原创","v":"原创"}]},{"key":"area","name":"地区","value":[{"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"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
},
searchUrl:'/search/**----------fypage---.html',
headers: {
'User-Agent': 'MOBILE_UA'
},
// lazy:'通用免嗅'
lazy:`js:
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
var url = html.url;
if (html.encrypt == '1') {
url = unescape(url)
} else if (html.encrypt == '2') {
url = unescape(base64Decode(url))
}
if (/m3u8|mp4/.test(url)) {
input = url
} else {
input
}
`,
搜索: muban.首图2.搜索1,
}

50
js/相声随身听.js Normal file
View File

@ -0,0 +1,50 @@
var rule = {
title:'相声随身听',
host:'https://www.xsmp3.com',
// url:'/fyclass/fypage.html',
url:'/fyfilter/fypage.html',
filterable:1,//是否启用分类筛选,
filter_url:'{{fl.cateId}}',
filter:{
"gdg":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"gdg"},{"n":"郭德纲单口","v":"gdg-dk"},{"n":"郭德纲于谦","v":"gdg-yq"},{"n":"郭德纲张文顺","v":"gdg-zws"},{"n":"郭德纲李菁","v":"gdg-lj"},{"n":"郭德纲徐德亮","v":"gdg-xdl"},{"n":"郭德纲何云伟","v":"gdg-hyw"},{"n":"郭德纲曹云金","v":"gdg-cyj"},{"n":"郭德纲王玥波","v":"gdg-wyb"},{"n":"郭德纲王文林","v":"gdg-wwl"}]}],
"dys":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"dys"},{"n":"德云社精选","v":"dys-jx"},{"n":"高峰相声全集","v":"dys-gf"},{"n":"岳云鹏相声全集","v":"dys-yyp"},{"n":"郭麒麟相声全集","v":"dys-gql"},{"n":"张鹤伦相声全集","v":"dys-zhl"},{"n":"孟鹤堂相声全集","v":"dys-mht"},{"n":"徐德亮王文林","v":"xdl-wwl"},{"n":"何云伟李菁","v":"hyw-lj"},{"n":"曹云金刘云天","v":"cyj-lyt"}]}]
},
filter_def:{
gdg:{cateId:'gdg'},
dys:{cateId:'dys'},
xsxsl:{cateId:'xsxsl'},
qqs:{cateId:'qqs'},
msl:{cateId:'msl'},
hbl:{cateId:'hbl'},
lbr:{cateId:'lbr'},
mj:{cateId:'mj'},
hyw:{cateId:'hyw'},
ssj:{cateId:'ssj'},
jk:{cateId:'jk'},
mzm:{cateId:'mzm'},
yzh:{cateId:'yzh'},
swm:{cateId:'swm'}
},
searchUrl:'/so/**_fypage.html',
searchable:2,
quickSearch:0,
headers:{
'User-Agent':'MOBILE_UA'
},
timeout:5000,
class_parse: '.list-navi&&li;a&&Text;a&&href;/(\\w+).html',
play_parse:true,
lazy:'js:input={jx:0,url:input,parse:0}',
limit:6,
推荐:'*',
一级:'#post_list_box&&li;h2&&Text;img&&src;.f_r&&span:eq(3)&&Text;a&&href',
二级:{
title:'h1&&Text;.view&&Text',
img:'img&&src',
desc:'.view&&Text;;;.lmname&&Text;.author&&Text',
content:'.jAsrPyf4&&p:eq(1)&&Text',
// tabs:'js:TABS=["相声随身听"]',
lists:'js:var VideoListJson;VideoListJson=eval(html.split("audio: ")[1].split("}\)")[0]);let list1=[];VideoListJson.forEach(function(it){list1.push(it.name.strip()+"$https:"+it.url)});LISTS=[list1];',
},
搜索: '*',
}

15
js/蜥蜴影视.js Normal file

File diff suppressed because one or more lines are too long

23
js/西瓜影视.js Normal file
View File

@ -0,0 +1,23 @@
var rule={
title:'西瓜影视',
host:'https://www.ledlmw.com',
url:'/sx-fyclass-fypage.html',
searchUrl:'/baidu**/page/fypage.html',
searchable:2,//是否启用全局搜索,
quickSearch:0,//是否启用快速搜索,
filterable:0,//是否启用分类筛选,
headers:{
'User-Agent':'UC_UA',
},
// class_parse:'.fed-pops-navbar&&ul.fed-part-rows&&a.fed-part-eone:gt(0):lt(5);a&&Text;a&&href;.*/(.*?).html',
class_parse:'.myui-header__menu&&li:gt(0):lt(6);a&&Text;a&&href;.*/(.*?).html',
cate_exclude: '明星',
play_parse:true,
lazy:'',
limit:6,
推荐:'ul.myui-vodlist.clearfix;li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
double:true, // 推荐内容是否双层定位
一级:'.myui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
二级:{"title":".myui-content__detail .title&&Text;.t-muted:eq(-1)&&Text","img":".lazyload&&src","desc":".text-muted:eq(-1)&&Text;.text-muted:eq(-5)&&Text;.myui-content__detail p:eq(4)&&Text;.myui-content__detail p:eq(5)&&Text;.myui-content__detail p:eq(6)&&Text","content":".content&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
搜索:'.myui-vodlist__media li;a&&title;*;*;a&&href;.text-muted:eq(-1)&&Text',
}

25
js/西瓜影院.js Normal file
View File

@ -0,0 +1,25 @@
var rule={
title: '西瓜影院',
host: 'https://www.uccomic.com',
url: '/vodshow/fyclass--------fypage---/',
searchUrl: '/index.php/ajax/suggest?mid=1&wd=**&limit=50',
searchable: 2,//是否启用全局搜索,
quickSearch: 0,//是否启用快速搜索,
filterable: 0,//是否启用分类筛选,
class_parse: '.menulist.hidden-xs li:gt(0):lt(5);a&&Text;a&&href;.*/(.*?)/',
play_parse: true,
lazy: '',
limit: 6,
推荐: 'body&&.col-md-2.col-sm-3.col-xs-4;a&&title;a&&data-original;.note.textbg&&Text;a&&href',
//double: true, // 推荐内容是否双层定位
一级: 'body&&.col-md-2.col-sm-3.col-xs-4;a&&title;a&&data-original;.note.textbg&&Text;a&&href',
二级: {
"title": "h3&&Text",
"img": "",
"desc": "",
"content": "",
"tabs": ".option",
"lists": ".playlistlink-1:eq(#id) li"
},
搜索:'json:list;name;pic;;id',
}

305
js/鑫鑫[V2].js Normal file
View File

@ -0,0 +1,305 @@
var rule = {
title: '鑫鑫[V2]', // csp_AppYsV2
host: 'http://yingszj.xn--654a.cc/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"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]}],
"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"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]}],
"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"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]}]
},
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:'1&2&3&4',
tab_order:['jsm3u8'],
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);
`,
}

20
js/雅克坊.js Normal file
View File

@ -0,0 +1,20 @@
var rule={
title:'雅克坊',
host:'https://yakoo.fun',
url:'/index.php/vod/show/id/fyclass/page/fypage.html',
searchUrl:'/index.php/vod/search/page/fypage/wd/**.html',
searchable:2,
quickSearch:0,
filterable:0,
headers:{'User-Agent':'MOBILE_UA', },
class_name:'番剧&电影&电视剧&动漫&综艺',
class_url:'1&2&3&4&5',
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)&&Text;.video-info-items:eq(0)&&Text","content":".video-info-content&&Text","tabs":".module-tab-item.tab-item","lists":".module-player-list:eq(#id)&&.scroll-content&&a"},
搜索:'.module-search-item;h3&&Text;img&&data-src;.module-item-caption.right&&Text;a&&href',
}

115
js/音乐演唱.json Normal file
View File

@ -0,0 +1,115 @@
{ "cookie": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/txt/cookie.txt",
"classes":[
{"type_name":"我的","type_id":"经典无损音乐合集"},
{"type_name":"索尼","type_id":"索尼音乐中国"},
{"type_name":"粤语","type_id":"粤语歌曲超清"},
{"type_name":"热榜","type_id":"2022年热们歌曲"},
{"type_name":"经典","type_id":"经典老歌"},
{"type_name":"古风","type_id":"古风歌曲"},
{"type_name":"闽南","type_id":"闽南语歌曲"},
{"type_name":"舞曲","type_id":"DJ歌曲"},
{"type_name":"翻唱","type_id":"网红翻唱歌曲"},
{"type_name":"音乐","type_id":"音乐 4k"},
{"type_name":"阿黛尔","type_id":"阿黛尔演唱会超清超清"},
{"type_name":"Blackpink","type_id":"blackpink演唱会超清"},
{"type_name":"Beyond","type_id":"beyond演唱会超清"},
{"type_name":"坂井泉水","type_id":"坂井泉水演唱会超清"},
{"type_name":"宝丽金","type_id":"宝丽金演唱会超清"},
{"type_name":"布兰妮","type_id":"布兰妮演唱会超清"},
{"type_name":"陈瑞","type_id":"陈瑞演唱会超清"},
{"type_name":"陈奕迅","type_id":"陈奕迅演唱会超清"},
{"type_name":"崔健","type_id":"催件演唱会超清"},
{"type_name":"Coldplay","type_id":"coldplay演唱会超清"},
{"type_name":"陈慧娴","type_id":"陈慧娴演唱会超清"},
{"type_name":"陈百强","type_id":"陈百强演唱会超清"},
{"type_name":"陈淑桦","type_id":"陈淑桦演唱会超清"},
{"type_name":"陈慧琳","type_id":"陈慧琳演唱会超清"},
{"type_name":"邓丽君","type_id":"邓丽君演唱会超清"},
{"type_name":"邓紫棋","type_id":"邓紫棋演唱会超清"},
{"type_name":"刀郎","type_id":"刀郎演唱会超清"},
{"type_name":"达明一派","type_id":"刘以达歌曲"},
{"type_name":"费玉清","type_id":"费玉清演唱会超清"},
{"type_name":"谷村新司","type_id":"谷村新司演唱会超清"},
{"type_name":"郭富城","type_id":"郭富城演唱会超清"},
{"type_name":"邰正宵","type_id":"邰正宵演唱会超清"},
{"type_name":"关淑怡","type_id":"关淑怡演唱会超清"},
{"type_name":"黄凯芹","type_id":"黄凯芹演唱会超清"},
{"type_name":"黑豹乐队","type_id":"H黑豹乐队"},
{"type_name":"降央卓玛","type_id":"降央卓玛演唱会超清"},
{"type_name":"江慧","type_id":"江慧歌曲"},
{"type_name":"吉永小百合","type_id":"吉永小百合歌曲"},
{"type_name":"金庸","type_id":"金庸影视歌曲"},
{"type_name":"刘德华","type_id":"刘德华演唱会超清"},
{"type_name":"Lady Gaga","type_id":"Lady Gaga演唱会超清"},
{"type_name":"龙飘飘","type_id":"龙飘飘演唱会超清"},
{"type_name":"罗百吉","type_id":"罗百吉演唱会超清"},
{"type_name":"罗大佑","type_id":"罗大佑演唱会超清"},
{"type_name":"林志炫","type_id":"林志炫演唱会超清"},
{"type_name":"林忆莲","type_id":"林忆莲演唱会超清"},
{"type_name":"李知恩","type_id":"李知恩演唱会超清"},
{"type_name":"梁静茹","type_id":"梁静茹演唱会超清"},
{"type_name":"冷漠","type_id":"冷漠演唱会超清"},
{"type_name":"李克勤","type_id":"李克勤演唱会超清"},
{"type_name":"林子祥","type_id":"林子祥演唱会超清"},
{"type_name":"黎明","type_id":"黎明演唱会超清"},
{"type_name":"刘若英","type_id":"刘若英演唱会超清"},
{"type_name":"McHotdog","type_id":"MC Hotdog演唱会超清"},
{"type_name":"莫文蔚","type_id":"莫文蔚演唱会超清"},
{"type_name":"孟庭苇","type_id":"孟庭苇演唱会超清"},
{"type_name":"麦当娜","type_id":"麦当娜演唱会超清"},
{"type_name":"迈克杰克逊","type_id":"迈克杰克逊演唱会超清"},
{"type_name":"雅尼紫禁城","type_id":"雅尼紫禁城演唱会超清"},
{"type_name":"潘越云","type_id":"潘越云演唱会超清"},
{"type_name":"潘美辰","type_id":"潘美辰演唱会超清"},
{"type_name":"齐秦","type_id":"齐秦演唱会超清"},
{"type_name":"祁美云","type_id":"祁美云演唱会超清"},
{"type_name":"任贤齐","type_id":"任贤齐演唱会超清"},
{"type_name":"苏慧伦","type_id":"苏慧伦演唱会超清"},
{"type_name":"唐朝乐队","type_id":"唐朝乐队"},
{"type_name":"童安格","type_id":"童安格演唱会超清"},
{"type_name":"TFBOYS","type_id":"TFBOYS演唱会超清"},
{"type_name":"太极乐队","type_id":"太极乐队演唱会超清"},
{"type_name":"唐朝摇滚","type_id":"唐朝摇滚演唱会超清"},
{"type_name":"谭咏麟","type_id":"谭咏麟演唱会超清"},
{"type_name":"王琪","type_id":"王琪歌曲"},
{"type_name":"伍珂玥","type_id":"伍珂玥演唱会超清"},
{"type_name":"王杰","type_id":"王杰演唱会超清"},
{"type_name":"伍佰","type_id":"伍佰演唱会超清"},
{"type_name":"温兆伦","type_id":"温兆伦演唱会超清"},
{"type_name":"王菲","type_id":"王菲演唱会超清"},
{"type_name":"熊天平","type_id":"熊天平演唱会超清"},
{"type_name":"徐小凤","type_id":"徐小凤演唱会超清"},
{"type_name":"席琳迪翁","type_id":"席琳迪翁演唱会超清"},
{"type_name":"许嵩","type_id":"黄许嵩演唱会超清"},
{"type_name":"许美静","type_id":"许美静演唱会超清"},
{"type_name":"许冠杰","type_id":"许冠杰演唱会超清"},
{"type_name":"小虎队","type_id":"小虎队演唱会超清"},
{"type_name":"许巍","type_id":"许巍演唱会超清"},
{"type_name":"叶启田","type_id":"叶启田演唱会超清"},
{"type_name":"叶玉卿","type_id":"叶玉卿演唱会超清"},
{"type_name":"杨千嬅","type_id":"杨千嬅演唱会超清"},
{"type_name":"左麟右李","type_id":"左麟右李演唱会超清"},
{"type_name":"赵传","type_id":"赵传演唱会超清"},
{"type_name":"周华健","type_id":"周华健演唱会超清"},
{"type_name":"周启生","type_id":"周启生演唱会超清"},
{"type_name":"张信哲","type_id":"张信哲演唱会超清"},
{"type_name":"周慧敏","type_id":"周慧敏演唱会超清"},
{"type_name":"张碧晨","type_id":"张碧晨演唱会超清"},
{"type_name":"中岛美雪","type_id":"中岛美雪演唱会超清"},
{"type_name":"张学友","type_id":"张学友演唱会超清"},
{"type_name":"猪哥亮","type_id":"猪哥亮歌曲"},
{"type_name":"周杰伦","type_id":"周杰伦演唱会超清"},
{"type_name":"周深","type_id":"周深演唱会超清"},
{"type_name":"张蔷","type_id":"张蔷演唱会超清"},
{"type_name":"张帝","type_id":"张帝演唱会超清"},
{"type_name":"张国荣","type_id":"张国荣演唱会超清"},
{"type_name":"郑钧","type_id":"郑钧演唱会超清"},
{"type_name":"张楚","type_id":"张楚演唱会超清"},
{"type_name":"张真","type_id":"张真演唱会超清"},
{"type_name":"赵传","type_id":"赵传演唱会超清"},
{"type_name":"周传雄","type_id":"周传雄演唱会超清"}],
"filter" : {
}}