From 9f5a991d5ac6c8f84da0ac2139611b71f11471aa Mon Sep 17 00:00:00 2001 From: hy5528 <95360525+hy5528@users.noreply.github.com> Date: Sun, 25 Feb 2024 10:05:15 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E7=BA=AF=E9=9F=B3=E4=B9=90.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/纯音乐.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 js/纯音乐.js diff --git a/js/纯音乐.js b/js/纯音乐.js new file mode 100644 index 0000000..863037e --- /dev/null +++ b/js/纯音乐.js @@ -0,0 +1,20 @@ +var rule = { + title:'纯音乐', + host:'http://m.htcyy.com/', + url:'/fyclass', + class_name:'纯音乐精选', + class_url:'/top', + 推荐:'*', + 一级:"js:var items=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;var html=request(input);var tabs=pdfa(html,'body&&#main .layout.top li');tabs.forEach(function(it){var pz=pdfh(it,'.info a&&Text');var pk=pdfh(it,'.ew&&Text');var img=pd(it,'img&&src');var timer=pdfh(it,'.ew&&Text');var url=pd(it,'a&&href');items.push({desc:timer+' ',title:pz+' '+pk,pic_url:img,url:url})});setResult(items);", + 二级:{ + title:".info a&&Text;em&&Text", + img:"img&&src", + desc:";;;.pic a&&title;.game-info-container div:eq(2)&&Text", + content:"img&&alt", + tabs:"js:TABS=['【纯音乐精选】']", + lists:'#main .layout.hot li', + list_text:'a&&Text', + list_url:'a:gt(0)&&href' + }, + 搜索:'', +}