generated from Aleks/xxaazza2z
上传文件至 音乐频道/js
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
var rule = {
|
||||
title:'学生球赛录像',
|
||||
编码:'gb18030',
|
||||
host:'http://www.xsm2b.com',
|
||||
url:'/fyclass/fypage.html',
|
||||
searchUrl:'',
|
||||
searchable:0,
|
||||
quickSearch:0,
|
||||
class_name:'录像&足球视频&篮球视频&综合视频',
|
||||
class_url:'matchvideo&footballvideo&basketballvideo&othervideo',
|
||||
headers:{
|
||||
'User-Agent':'MOBILE_UA'
|
||||
},
|
||||
timeout:5000,
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
limit:6,
|
||||
double:false,
|
||||
//推荐:'*',
|
||||
一级:'js:pdfa=jsp.pdfa;pdfa=jsp.pdfa;pd=jsp.pd;let d=[];log(input);let html=request(input);let list=pdfa(html,".text_list li");let burl=input.match(/(.*)\\/.*?.html/)[1];log(burl);MY_URL=burl;print(list);list.forEach(function(it){let title=pdfh(it,"a&&Text");d.push({title:title,desc:pdfh(it,".date&&Text"),url:pd(it,"a&&href")+"@@"+title})});setResult(d);',
|
||||
// 一级:'.text_list li;a&&Text;;.date&&Text;a&&href',
|
||||
二级:'*',
|
||||
搜索:'',
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
var rule = {
|
||||
title:'种子音乐',
|
||||
host:'https://www.zz123.com',
|
||||
homeUrl:'/list/mszm.htm?page=1',
|
||||
url:'/list/fyclass.htm?page=fypage',
|
||||
searchable:2,
|
||||
quickSearch:0,
|
||||
headers:{
|
||||
'User-Agent':'MOBILE_UA',
|
||||
'referer' : 'https://www.zz123.com/',
|
||||
},
|
||||
class_parse: '.taglist li;.tagitem&&data-name;.tagitem&&data-id',
|
||||
play_parse:true,
|
||||
// lazy:"js:input=input.replace(/play\\/(\\w+)\\.htm/,'ajax/?act=songinfo&id=$1&lang=');log(input);let mp3 = JSON.parse(request(input)).data.mp3;input={jx:0,url:mp3,parse:1,header:JSON.stringify({Referer:'https://www.zz123.com/'})}",
|
||||
lazy:"js:input=input.replace(/play\\/(\\w+)\\.htm/,'ajax/?act=songinfo&id=$1&lang=').replace('www.','');log(input);let mp3=JSON.parse(request(input)).data.mp3;input={jx:0,url:'https://zz123.com'+mp3,parse:1,header:JSON.stringify({Referer:'https://www.zz123.com/'})}",
|
||||
limit:6,
|
||||
图片来源:'@Referer=https://www.zz123.com/',
|
||||
推荐:"*",
|
||||
一级:'.mobile-list&&.mobile-list-item;.songname&&Text;.lazyload&&data-src;.authorname&&Text;a&&href',
|
||||
二级:'*',
|
||||
// searchUrl:'/search/?key=**&page=fypage',
|
||||
// 搜索:'*',
|
||||
searchUrl:'/ajax/?act=search&key=**&lang=',
|
||||
detailUrl:'/play/fyid.html',
|
||||
搜索:'json:data;mname;pic;sname;id',
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
var rule = {
|
||||
title:'音悦网',
|
||||
host:'https://data.yinyuetai.com',
|
||||
homeUrl:'/video/getTypeVideoList?videoType=1&pageNum=1&pageSize=20',//网站的首页链接,可以是完整路径或者相对路径,用于分类获取和推荐获取 fyclass是分类标签 fypage是页数
|
||||
url:'/video/getTypeVideoList?videoType=fyclass&pageNum=fypage&pageSize=20',
|
||||
// detailUrl:'https://data.yinyuetai.com/video/getVideoInfo?id=fyid',
|
||||
searchUrl:'',//搜索链接 可以是完整路径或者相对路径,用于分类获取和推荐获取 **代表搜索词 fypage代表页数
|
||||
searchable:0,//是否启用全局搜索,
|
||||
quickSearch:0,//是否启用快速搜索,
|
||||
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
||||
'User-Agent':'MOBILE_UA',
|
||||
},
|
||||
class_name:'内地&香港&台湾&日韩欧美&音悦V榜及自制',
|
||||
class_url:'1&2&3&4&5',
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
limit:6,
|
||||
推荐:'*',
|
||||
一级:'js:let d=[];let data=JSON.parse(request(input)).list;data.forEach(function(it){let purl=JSON.parse(request("https://data.yinyuetai.com/video/getVideoInfo?id="+it.id)).videoUrl;d.push({title:it.videoName,img:it.videoImg,url:purl,desc:it.artistName,})});setResult(d);',
|
||||
二级:'*',
|
||||
搜索:'',
|
||||
}
|
||||
Reference in New Issue
Block a user