From 29468823163b32d82bdbfc5798ea80027db2f294 Mon Sep 17 00:00:00 2001 From: yeyin Date: Sun, 12 Oct 2025 15:00:04 +0200 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20=E9=9F=B3=E4=B9=90=E9=A2=91=E9=81=93/js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 音乐频道/js/学生球赛录像[js1].js | 24 ++++++++++++++++++++++++ 音乐频道/js/种子音乐.js | 26 ++++++++++++++++++++++++++ 音乐频道/js/音悦网.js | 22 ++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 音乐频道/js/学生球赛录像[js1].js create mode 100644 音乐频道/js/种子音乐.js create mode 100644 音乐频道/js/音悦网.js diff --git a/音乐频道/js/学生球赛录像[js1].js b/音乐频道/js/学生球赛录像[js1].js new file mode 100644 index 0000000..3721eb2 --- /dev/null +++ b/音乐频道/js/学生球赛录像[js1].js @@ -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', + 二级:'*', + 搜索:'', +} \ No newline at end of file diff --git a/音乐频道/js/种子音乐.js b/音乐频道/js/种子音乐.js new file mode 100644 index 0000000..7d217be --- /dev/null +++ b/音乐频道/js/种子音乐.js @@ -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', +} \ No newline at end of file diff --git a/音乐频道/js/音悦网.js b/音乐频道/js/音悦网.js new file mode 100644 index 0000000..ed5d25c --- /dev/null +++ b/音乐频道/js/音悦网.js @@ -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);', + 二级:'*', + 搜索:'', +} \ No newline at end of file