-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy path种子音乐[听].js
30 lines (30 loc) · 1.05 KB
/
种子音乐[听].js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
var rule = {
title: '种子音乐[听]',
host: 'https://www.zz123.com',
homeUrl: '/list/mszm.htm?page=1',
url: '/fyclass.htm?page=fypage',
searchable: 2,
quickSearch: 0,
headers: {
'User-Agent': 'MOBILE_UA',
'referer': 'https://www.zz123.com/',
},
class_parse: '.aside-menu-list.channel&&[href*=list];a&&Text;a&&href;.(list.*).htm',
play_parse: true,
lazy: $js.toString(() => {
input = input.replace(/play\/(\w+)\.htm/, 'ajax/?act=songinfo&id=$1&lang=');
log(input);
let mp3 = JSON.parse(request(input)).data.mp3;
input = {parse: 0, url: mp3, header: rule.headers};
}),
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',
}