migu-api-enhanced 2.27.2 → 2.27.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/YDRZ-M2NM4ZC5.mjs +11 -0
- package/dist/YDRZ-OJHYOY7I.cjs +11 -0
- package/dist/{YDRZ-KF4GXM2T.cjs.map → YDRZ-OJHYOY7I.cjs.map} +1 -1
- package/dist/activity/index.cjs +10 -10
- package/dist/activity/index.mjs +3 -3
- package/dist/activity/index.mjs.map +1 -1
- package/dist/{chunk-H6YB76CZ.mjs → chunk-4ZNJQZKT.mjs} +1 -1
- package/dist/chunk-4ZNJQZKT.mjs.map +1 -0
- package/dist/{chunk-QEH62Z4S.cjs → chunk-6EZ26DPY.cjs} +2 -2
- package/dist/{chunk-QEH62Z4S.cjs.map → chunk-6EZ26DPY.cjs.map} +1 -1
- package/dist/{chunk-AJYZYXNE.mjs → chunk-BNSCQPYL.mjs} +2 -2
- package/dist/chunk-BNSCQPYL.mjs.map +1 -0
- package/dist/chunk-FT3OOTMT.cjs +140 -0
- package/dist/chunk-FT3OOTMT.cjs.map +1 -0
- package/dist/{chunk-RI7PQIHG.cjs → chunk-HBSVQAOM.cjs} +8 -17
- package/dist/chunk-HBSVQAOM.cjs.map +1 -0
- package/dist/{chunk-EIM46AX6.mjs → chunk-ID6VPLAX.mjs} +7 -16
- package/dist/chunk-ID6VPLAX.mjs.map +1 -0
- package/dist/{chunk-4M7T22TX.mjs → chunk-JRQEIAY5.mjs} +2 -2
- package/dist/{chunk-JXEQGZBM.cjs → chunk-TOFOR57V.cjs} +3 -3
- package/dist/{chunk-JXEQGZBM.cjs.map → chunk-TOFOR57V.cjs.map} +1 -1
- package/dist/chunk-Y4SLGNQ3.mjs +140 -0
- package/dist/chunk-Y4SLGNQ3.mjs.map +1 -0
- package/dist/{chunk-JOOWMEQP.cjs → chunk-ZEGJU5LW.cjs} +1 -1
- package/dist/{chunk-JOOWMEQP.cjs.map → chunk-ZEGJU5LW.cjs.map} +1 -1
- package/dist/index.cjs +193 -207
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -15
- package/dist/index.d.ts +40 -15
- package/dist/index.mjs +85 -99
- package/dist/index.mjs.map +1 -1
- package/dist/login/index.cjs +9 -9
- package/dist/login/index.mjs +8 -8
- package/dist/login/index.mjs.map +1 -1
- package/dist/mrc/index.cjs +1 -1
- package/dist/mrc/index.cjs.map +1 -1
- package/dist/mrc/index.d.cts +0 -10
- package/dist/mrc/index.d.ts +0 -10
- package/dist/mrc/index.mjs +1 -1
- package/dist/mrc/index.mjs.map +1 -1
- package/dist/publicKey-EHY5LDOP.cjs +8 -0
- package/dist/{publicKey-D2LR2HGH.cjs.map → publicKey-EHY5LDOP.cjs.map} +1 -1
- package/dist/publicKey-LX6G3T7L.mjs +8 -0
- package/dist/utils/index.cjs +8 -6
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +21 -3
- package/dist/utils/index.d.ts +21 -3
- package/dist/utils/index.mjs +8 -6
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +103 -101
- package/dist/YDRZ-HSTSW5FC.mjs +0 -11
- package/dist/YDRZ-KF4GXM2T.cjs +0 -11
- package/dist/chunk-AJYZYXNE.mjs.map +0 -1
- package/dist/chunk-EIM46AX6.mjs.map +0 -1
- package/dist/chunk-H6YB76CZ.mjs.map +0 -1
- package/dist/chunk-ILRMRBMK.cjs +0 -71
- package/dist/chunk-ILRMRBMK.cjs.map +0 -1
- package/dist/chunk-QTK2O5KQ.mjs +0 -71
- package/dist/chunk-QTK2O5KQ.mjs.map +0 -1
- package/dist/chunk-RI7PQIHG.cjs.map +0 -1
- package/dist/publicKey-D2LR2HGH.cjs +0 -8
- package/dist/publicKey-YCVYQ54R.mjs +0 -8
- /package/dist/{YDRZ-HSTSW5FC.mjs.map → YDRZ-M2NM4ZC5.mjs.map} +0 -0
- /package/dist/{chunk-4M7T22TX.mjs.map → chunk-JRQEIAY5.mjs.map} +0 -0
- /package/dist/{publicKey-YCVYQ54R.mjs.map → publicKey-LX6G3T7L.mjs.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFT3OOTMTcjs = require('./chunk-FT3OOTMT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6EZ26DPYcjs = require('./chunk-6EZ26DPY.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZEGJU5LWcjs = require('./chunk-ZEGJU5LW.cjs');
|
|
11
11
|
|
|
12
12
|
// src/modules/search.ts
|
|
13
13
|
var searchSong = async (text, page = 1) => {
|
|
14
|
-
return await
|
|
14
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/song/v1.0?pageNo=${page}&text=${text}`);
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
// src/modules/search_playlist.ts
|
|
18
18
|
var searchPlaylist = async (text, page = 1, typeOrder = 0) => {
|
|
19
|
-
return await
|
|
19
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/music-list/v1.0?pageNo=${page}&text=${text}&typeOrder=${typeOrder}`);
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
// src/modules/search_album.ts
|
|
23
23
|
var searchAlbum = async (text, page = 1, typeOrder = 0) => {
|
|
24
|
-
return await
|
|
24
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/album/v1.0?pageNo=${page}&text=${text}&typeOrder=${typeOrder}`);
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
// src/modules/search_singer.ts
|
|
28
28
|
var searchSinger = async (text, page = 1) => {
|
|
29
|
-
return await
|
|
29
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/singer/v2.0?pageNo=${page}&text=${text}`);
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
// src/modules/search_concert.ts
|
|
33
33
|
var searchConcert = async (text, page = 1) => {
|
|
34
|
-
return await
|
|
34
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/concert/v1.0?pageNo=${page}&text=${text}`);
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
// src/modules/search_hot.ts
|
|
38
38
|
var getSearchHot = async () => {
|
|
39
|
-
return await
|
|
39
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.u.nf.migu.cn/bmw/hot-search/search-rank-list/v1.0`);
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
// src/modules/search_default.ts
|
|
43
43
|
var getSearchDefault = async () => {
|
|
44
|
-
return await
|
|
44
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/column/search/default-text/v3.0?resourceVersion=2`);
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
// src/modules/search_mv.ts
|
|
48
48
|
var searchMv = async (text, page = 1, typeOrder = 0) => {
|
|
49
|
-
return await
|
|
49
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/video/v1.0?pageNo=${page}&text=${text}&typeOrder=${typeOrder}`);
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
// src/modules/search_suggest.ts
|
|
53
53
|
var searchSuggest = async (text) => {
|
|
54
|
-
return await
|
|
54
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/suggest/v1.0?text=${text}`);
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
// src/modules/search_rbt.ts
|
|
58
58
|
var searchRbt = async (text, page = 1) => {
|
|
59
|
-
return await
|
|
59
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/rbt/v1.0?pageNo=${page}&text=${text}`);
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
// src/modules/search_ticket.ts
|
|
63
63
|
var searchTicket = async (text, page = 1) => {
|
|
64
|
-
return await
|
|
64
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/ticket/v1.0?pageNo=${page}&text=${text}`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
// src/modules/search_singerTab.ts
|
|
68
68
|
var getSearchSingerTab = async () => {
|
|
69
|
-
return await
|
|
69
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.u.nf.migu.cn/MIGUM3.0/bmw/singer-index/tabs/v2.0`);
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
// src/modules/search_singerTab_list.ts
|
|
73
73
|
var getSearchSingerTabList = async (tab = "") => {
|
|
74
|
-
return await
|
|
74
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.u.nf.migu.cn/MIGUM3.0/bmw/singer-index/list/v1.0?tab=${tab}&templateVersion=3`);
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/modules/album_info.ts
|
|
78
78
|
var getAlbumInfo = async (albumId) => {
|
|
79
|
-
return await
|
|
79
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/resource/album/v2.0?albumId=${albumId}`);
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
// src/modules/album_song.ts
|
|
83
83
|
var getAlbumSong = async (albumId, page = 1) => {
|
|
84
|
-
return await
|
|
84
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `http://app.c.nf.migu.cn/MIGUM3.0/resource/album/song/v2.0?albumId=${albumId}&pageNo=${page}`);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
// src/modules/playlist_info.ts
|
|
88
88
|
var getPlaylistInfo = async (playlistId) => {
|
|
89
|
-
return await
|
|
89
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/resource/playlist/v2.0?playlistId=${playlistId}`);
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
// src/modules/playlist_song.ts
|
|
93
93
|
var getPlaylistSong = async (playlistId, page = 1, size = 20) => {
|
|
94
|
-
return await
|
|
94
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/resource/playlist/song/v2.0?pageNo=${page}&pageSize=${size}&playlistId=${playlistId}`);
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
// src/modules/singer_index.ts
|
|
98
98
|
var getSingerIndex = async (singerId) => {
|
|
99
|
-
return await
|
|
99
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/singer/index/v1.0?singerId=${singerId}`);
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
// src/modules/singer_song.ts
|
|
103
103
|
var getSingerSong = async (singerId, page = 1) => {
|
|
104
|
-
return await
|
|
104
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/singer/song/v1.0?pageNo=${page}&singerId=${singerId}&type=1`);
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
// src/modules/singer_album.ts
|
|
108
108
|
var getSingerAlbum = async (singerId, page = 1) => {
|
|
109
|
-
const res = await
|
|
109
|
+
const res = await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/singer/album/v1.0?singerId=${singerId}&pageNo=${page}`);
|
|
110
110
|
_optionalChain([res, 'optionalAccess', _ => _.data, 'optionalAccess', _2 => _2.header, 'optionalAccess', _3 => _3.nextPageUrl]) ? res.data.header.hasNext = true : res.data.header.hasNext = false;
|
|
111
111
|
return res;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
114
|
// src/modules/rank_index.ts
|
|
115
115
|
var getRankIndex = async () => {
|
|
116
|
-
return await
|
|
116
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/bmw/rank/rank-index/v1.0`);
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
// src/modules/rank_info.ts
|
|
120
120
|
var getRankInfo = async (rankId, page = 1) => {
|
|
121
|
-
return await
|
|
121
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/rank/rank-info/v1.0?pageNo=${page}&rankId=${rankId}`);
|
|
122
122
|
};
|
|
123
123
|
|
|
124
124
|
// src/modules/recommend_playlist.ts
|
|
125
125
|
var getRecommendPlaylist = async () => {
|
|
126
|
-
return await
|
|
126
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/index-show/recommend-playlist/v3.0`);
|
|
127
127
|
};
|
|
128
128
|
|
|
129
129
|
// src/modules/recommend_song.ts
|
|
@@ -136,11 +136,11 @@ var getSceneRecommend = async (scene = "TODAY_RECOMMEND", size = 10) => {
|
|
|
136
136
|
} else {
|
|
137
137
|
return { error: "scene\u53C2\u6570\u9519\u8BEF PRIVATE_FM \u6216 TODAY_RECOMMEND" };
|
|
138
138
|
}
|
|
139
|
-
return await
|
|
139
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
140
140
|
`https://app.c.nf.migu.cn/pc/resource-dataloader/recommend-song/v1.0?${params}`,
|
|
141
141
|
{
|
|
142
142
|
headers: {
|
|
143
|
-
"deviceId":
|
|
143
|
+
"deviceId": _chunk6EZ26DPYcjs.getDeviceId.call(void 0, )
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
);
|
|
@@ -151,14 +151,14 @@ var getRadioRecommend = async (type = 1) => {
|
|
|
151
151
|
if (type !== 1 && type !== 2) {
|
|
152
152
|
return { error: "type must be 1 or 2" };
|
|
153
153
|
}
|
|
154
|
-
return await
|
|
154
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
155
155
|
`https://app.c.nf.migu.cn/pc/column/music-radio/recommend/song/v2.0?remain=0&actionId=1&type=${type}`,
|
|
156
156
|
{
|
|
157
157
|
method: "GET",
|
|
158
158
|
headers: {
|
|
159
159
|
"Referer": "https://music.migu.cn/",
|
|
160
160
|
"channel": "014X031",
|
|
161
|
-
"deviceId":
|
|
161
|
+
"deviceId": _chunk6EZ26DPYcjs.getDeviceId.call(void 0, ),
|
|
162
162
|
"recommendstatus": "1"
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -167,19 +167,19 @@ var getRadioRecommend = async (type = 1) => {
|
|
|
167
167
|
|
|
168
168
|
// src/modules/comment.ts
|
|
169
169
|
var getComment = async (resourceId, resourceType = 2, size = 20, hotCommentStart = 0) => {
|
|
170
|
-
return await
|
|
170
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://u.musicapp.migu.cn/MIGUM3.0/user/comment/stack/v1.0?resourceId=${resourceId}&resourceType=${resourceType}&pageSize=${size}&hotCommentStart=${hotCommentStart}&platformType=1&commentId=0&queryType=1`);
|
|
171
171
|
};
|
|
172
172
|
|
|
173
173
|
// src/modules/resourceinfo.ts
|
|
174
174
|
var getResourceInfo = async (resourceIds = "", copyrightIds = "", resourceType = 2) => {
|
|
175
175
|
resourceIds = resourceIds.replace(/,/g, "|");
|
|
176
176
|
copyrightIds = copyrightIds.replace(/,/g, "|");
|
|
177
|
-
return await
|
|
177
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.u.nf.migu.cn/MIGUM2.0/v1.0/content/resourceinfo.do?resourceId=${resourceIds}©rightId=${copyrightIds}&resourceType=${resourceType}`);
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
// src/modules/can-listen.ts
|
|
181
181
|
var checkCanListen = async (contentIds) => {
|
|
182
|
-
return await
|
|
182
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
183
183
|
`https://app.c.nf.migu.cn/strategy/pc/can-listen/v1.0`,
|
|
184
184
|
{
|
|
185
185
|
method: "post",
|
|
@@ -197,12 +197,12 @@ var checkCanListen = async (contentIds) => {
|
|
|
197
197
|
|
|
198
198
|
// src/modules/opNum.ts
|
|
199
199
|
var getOpNum = async (ids) => {
|
|
200
|
-
return await
|
|
200
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/opnum/query-optype-v1.0?opType=play&resourceType=2021&ids=${ids}`);
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
// src/modules/url_v1.ts
|
|
204
204
|
var getUrlV1 = async (contentId, copyrightId, toneFlag = "PQ", resourceType = "2") => {
|
|
205
|
-
const data = await
|
|
205
|
+
const data = await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
206
206
|
`https://app.c.nf.migu.cn/MIGUM3.0/strategy/pc/listen/v1.0?contentId=${contentId}©rightId=${copyrightId}&resourceType=${resourceType}&toneFlag=PQ`,
|
|
207
207
|
{
|
|
208
208
|
headers: {
|
|
@@ -211,14 +211,14 @@ var getUrlV1 = async (contentId, copyrightId, toneFlag = "PQ", resourceType = "2
|
|
|
211
211
|
}
|
|
212
212
|
);
|
|
213
213
|
data.data.oriUrl = data.data.url || "";
|
|
214
|
-
data.data.url =
|
|
214
|
+
data.data.url = _chunkFT3OOTMTcjs.changeQuality.call(void 0, data.data.url || "", toneFlag, "PQ", true);
|
|
215
215
|
return data;
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
// src/modules/url_v2.ts
|
|
219
219
|
var _axios = require('axios'); var _axios2 = _interopRequireDefault(_axios);
|
|
220
220
|
var getUrlV2 = async (contentId, copyrightId, toneFlag = "PQ", pacmtoken = "") => {
|
|
221
|
-
const deviceId =
|
|
221
|
+
const deviceId = _chunk6EZ26DPYcjs.getDeviceId.call(void 0, );
|
|
222
222
|
const timestamp = Date.now();
|
|
223
223
|
const headers = {
|
|
224
224
|
"channel": "014X031",
|
|
@@ -295,7 +295,7 @@ var getUrlH5V24 = async (contentId, copyrightId, toneFlag = "PQ") => {
|
|
|
295
295
|
return { success: false, error: "URL \u4E3A\u7A7A" };
|
|
296
296
|
}
|
|
297
297
|
data.data.oriUrl = data.data.url || "";
|
|
298
|
-
data.data.url =
|
|
298
|
+
data.data.url = _chunkFT3OOTMTcjs.changeQuality.call(void 0, data.data.url || "", toneFlag, "PQ", true);
|
|
299
299
|
return data;
|
|
300
300
|
};
|
|
301
301
|
var SECURE2 = ["Jk8qzuePiJ1qE3mDYhLQ3T73DtDoAhLP"];
|
|
@@ -336,8 +336,8 @@ var decryptData2 = (ab) => {
|
|
|
336
336
|
|
|
337
337
|
// src/modules/version.ts
|
|
338
338
|
var getVersion = async () => {
|
|
339
|
-
return await
|
|
340
|
-
`
|
|
339
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
340
|
+
`https://app.c.nf.migu.cn/column/client/version/v1.0`,
|
|
341
341
|
{
|
|
342
342
|
headers: {
|
|
343
343
|
"ua": "Android_migu",
|
|
@@ -350,13 +350,13 @@ var getVersion = async () => {
|
|
|
350
350
|
// src/modules/mv_info.ts
|
|
351
351
|
var getMvInfo = async (mvContentIds) => {
|
|
352
352
|
mvContentIds = mvContentIds.replace(/,/g, "|");
|
|
353
|
-
return await
|
|
353
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://c.musicapp.migu.cn/MIGUM2.0/v1.0/content/resourceinfo.do?resourceId=${mvContentIds}&resourceType=D&needSimple=01`);
|
|
354
354
|
};
|
|
355
355
|
|
|
356
356
|
// src/modules/mv_hls.ts
|
|
357
357
|
var getMvHls = async (mvContentId, mvCopyrightId, url, size, format = "050012", needHttps = true) => {
|
|
358
358
|
url = encodeURIComponent(url);
|
|
359
|
-
return await
|
|
359
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
360
360
|
`https://c.musicapp.migu.cn/MIGUM2.0/v1.0/content/mvplayinfo.do?format=${format}&mvContentId=${mvContentId}&mvCopyrightId=${mvCopyrightId}&needHttps=${needHttps}&size=${size}&url=${url}`,
|
|
361
361
|
{
|
|
362
362
|
method: "GET",
|
|
@@ -369,7 +369,7 @@ var getMvHls = async (mvContentId, mvCopyrightId, url, size, format = "050012",
|
|
|
369
369
|
|
|
370
370
|
// src/modules/passport_checkToken.ts
|
|
371
371
|
var checkToken = async (token = "") => {
|
|
372
|
-
return await
|
|
372
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
373
373
|
`https://c.musicapp.migu.cn/mgateway/api/checkPacMtoken`,
|
|
374
374
|
{
|
|
375
375
|
headers: {
|
|
@@ -381,7 +381,7 @@ var checkToken = async (token = "") => {
|
|
|
381
381
|
|
|
382
382
|
// src/modules/passport_pacmToken.ts
|
|
383
383
|
var getPacmToken = async (token = "", type = "2", sourceId = "220029", activityId = "MUSIC-WWW") => {
|
|
384
|
-
const { data, cookies } = await
|
|
384
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
385
385
|
`https://c.musicapp.migu.cn/user/h5/token-validate/v3.0?token=${token}&type=${type}&sourceId=${sourceId}&activityId=${activityId}`,
|
|
386
386
|
{
|
|
387
387
|
cookie: { idmpauth: "true@passport.migu.cn" },
|
|
@@ -398,12 +398,12 @@ var getPacmToken = async (token = "", type = "2", sourceId = "220029", activityI
|
|
|
398
398
|
|
|
399
399
|
// src/modules/ticket.ts
|
|
400
400
|
var getTicketInfo = async (page = 1, size = 20) => {
|
|
401
|
-
return await
|
|
401
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/v1.0/ticket/home/ticket?pageNum=${page}&pageCount=${size}`);
|
|
402
402
|
};
|
|
403
403
|
|
|
404
404
|
// src/modules/user_badge.ts
|
|
405
405
|
var getUserBadge = async (pacmtoken) => {
|
|
406
|
-
const { data, cookies } = await
|
|
406
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/pc/open/api/member/icon/v1.0", {
|
|
407
407
|
cookie: { pacmtoken },
|
|
408
408
|
headers: {
|
|
409
409
|
"Referer": "https://music.migu.cn/",
|
|
@@ -416,7 +416,7 @@ var getUserBadge = async (pacmtoken) => {
|
|
|
416
416
|
|
|
417
417
|
// src/modules/user_queryInfo.ts
|
|
418
418
|
var queryUserInfo = async (pacmtoken) => {
|
|
419
|
-
const { data, cookies } = await
|
|
419
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/pc/user/h5/queryUserInfo/v1.0", {
|
|
420
420
|
cookie: { pacmtoken },
|
|
421
421
|
headers: {
|
|
422
422
|
"channel": "014X031",
|
|
@@ -428,7 +428,7 @@ var queryUserInfo = async (pacmtoken) => {
|
|
|
428
428
|
|
|
429
429
|
// src/modules/user_homePage.ts
|
|
430
430
|
var getUserHomePage = async (pacmtoken) => {
|
|
431
|
-
const { data, cookies } = await
|
|
431
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/pc/user/home-page/v2.0", {
|
|
432
432
|
cookie: { pacmtoken }
|
|
433
433
|
});
|
|
434
434
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -436,7 +436,7 @@ var getUserHomePage = async (pacmtoken) => {
|
|
|
436
436
|
|
|
437
437
|
// src/modules/user_recom_today.ts
|
|
438
438
|
var getTodayRecommend = async (pacmtoken) => {
|
|
439
|
-
const { data, cookies } = await
|
|
439
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/pc/v1.0/template/todayRecommendList/release?actionId=1&index=1&templateVersion=5", {
|
|
440
440
|
cookie: { pacmtoken }
|
|
441
441
|
});
|
|
442
442
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -444,7 +444,7 @@ var getTodayRecommend = async (pacmtoken) => {
|
|
|
444
444
|
|
|
445
445
|
// src/modules/user_collect_list.ts
|
|
446
446
|
var getUserCollectList = async (pacmtoken, page = 1, size = 20) => {
|
|
447
|
-
const { data, cookies } = await
|
|
447
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/user/h5/user/collection/v1.0?pageNo=${page}&type=1&OPType=03&pageSize=${size}&resourceType=2021`, {
|
|
448
448
|
cookie: { pacmtoken }
|
|
449
449
|
});
|
|
450
450
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -452,7 +452,7 @@ var getUserCollectList = async (pacmtoken, page = 1, size = 20) => {
|
|
|
452
452
|
|
|
453
453
|
// src/modules/user_myList.ts
|
|
454
454
|
var getUserMyList = async (pacmtoken, queryType = 0, page = 1, size = 20) => {
|
|
455
|
-
const { data, cookies } = await
|
|
455
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/user/h5/my-music-list/v1.0?queryType=${queryType}&pageNo=${page}&pageSize=${size}`, {
|
|
456
456
|
cookie: { pacmtoken }
|
|
457
457
|
});
|
|
458
458
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -460,17 +460,17 @@ var getUserMyList = async (pacmtoken, queryType = 0, page = 1, size = 20) => {
|
|
|
460
460
|
|
|
461
461
|
// src/modules/singer_similar.ts
|
|
462
462
|
var getSingerSimilar = async (singerId) => {
|
|
463
|
-
return await
|
|
463
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/recommend-singer/similar/v1.0?singerId=${singerId}`);
|
|
464
464
|
};
|
|
465
465
|
|
|
466
466
|
// src/modules/recommend_similarSong.ts
|
|
467
467
|
var getSimilarSongRecommend = async (contentId = "") => {
|
|
468
|
-
return await
|
|
468
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
469
469
|
`https://app.c.nf.migu.cn/bmw/recommend-song/similar/v1.0?contentId=${contentId}`,
|
|
470
470
|
{
|
|
471
471
|
method: "GET",
|
|
472
472
|
headers: {
|
|
473
|
-
"deviceId":
|
|
473
|
+
"deviceId": _chunk6EZ26DPYcjs.getDeviceId.call(void 0, ),
|
|
474
474
|
"recommendstatus": "1"
|
|
475
475
|
}
|
|
476
476
|
}
|
|
@@ -479,22 +479,22 @@ var getSimilarSongRecommend = async (contentId = "") => {
|
|
|
479
479
|
|
|
480
480
|
// src/modules/mv_recommend.ts
|
|
481
481
|
var getMVRecommend = async (mvContentId, page = 1) => {
|
|
482
|
-
return await
|
|
482
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://c.musicapp.migu.cn/MIGUM3.0/v3.0/content/recommend-mv?resourceId=${mvContentId}&pageNumber=${page}&resourceType=D`);
|
|
483
483
|
};
|
|
484
484
|
|
|
485
485
|
// src/modules/playlist_square_page.ts
|
|
486
486
|
var getSquarePage = async () => {
|
|
487
|
-
return await
|
|
487
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/bmw/page-data/playlist-square-recommend/v1.0?templateVersion=2`);
|
|
488
488
|
};
|
|
489
489
|
|
|
490
490
|
// src/modules/search_lrc.ts
|
|
491
491
|
var searchLrc = async (text, page = 1) => {
|
|
492
|
-
return await
|
|
492
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/search/lrc/v1.0?pageNo=${page}&text=${text}`);
|
|
493
493
|
};
|
|
494
494
|
|
|
495
495
|
// src/modules/recommend_radio_all.ts
|
|
496
496
|
var getRadioRecommendAll = async (pacmtoken = "") => {
|
|
497
|
-
const { data, cookies } = await
|
|
497
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/bmw/page-data/music-radio/v1.0?templateVersion=1`, {
|
|
498
498
|
cookie: pacmtoken ? { pacmtoken } : void 0
|
|
499
499
|
});
|
|
500
500
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -506,16 +506,16 @@ var getSVideoInfo = async (contentIds) => {
|
|
|
506
506
|
contentIdList.map((item) => {
|
|
507
507
|
return "6000," + item;
|
|
508
508
|
}).join("|");
|
|
509
|
-
return await
|
|
509
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/resource/video-info/by-id/v1.0?requestParams=${contentIdList}`);
|
|
510
510
|
};
|
|
511
511
|
|
|
512
512
|
// src/modules/svideo_search.ts
|
|
513
513
|
var searchSVideo = async (text, page = 1) => {
|
|
514
|
-
return await
|
|
514
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
515
515
|
`https://app.c.nf.migu.cn/bmw/hot-search/search/videos/v1.0?pageIndex=${page}&text=${text}`,
|
|
516
516
|
{
|
|
517
517
|
headers: {
|
|
518
|
-
"deviceid":
|
|
518
|
+
"deviceid": _chunk6EZ26DPYcjs.getDeviceId.call(void 0, )
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
);
|
|
@@ -523,29 +523,29 @@ var searchSVideo = async (text, page = 1) => {
|
|
|
523
523
|
|
|
524
524
|
// src/modules/svideo_searchSuggest.ts
|
|
525
525
|
var getSVideoSearchSuggest = async (text) => {
|
|
526
|
-
return await
|
|
526
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/resource-dataloader/search-suggest/search/v1.0?text=${text}`);
|
|
527
527
|
};
|
|
528
528
|
|
|
529
529
|
// src/modules/svideo_url.ts
|
|
530
530
|
var getSVideoUrl = async (contentIds, formatType = "HQ") => {
|
|
531
531
|
contentIds = contentIds.replace(/,/g, "|");
|
|
532
|
-
return await
|
|
532
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/strategy/short-video/play/v1.0?contentIds=${contentIds}&formatType=${formatType}`);
|
|
533
533
|
};
|
|
534
534
|
|
|
535
535
|
// src/modules/svideo_userContent.ts
|
|
536
536
|
var getSVideoUserContent = async (videoUserId, nextPageId = "") => {
|
|
537
|
-
return await
|
|
537
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/user/i/user-content-list/v1.0?nextPageId=${nextPageId}&videoUserId=${videoUserId}`);
|
|
538
538
|
};
|
|
539
539
|
|
|
540
540
|
// src/modules/vrbt_opNum.ts
|
|
541
541
|
var getVrbtOpNum = async (contentIds) => {
|
|
542
|
-
return await
|
|
542
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/resource/vrbt/opnum/v1.0?resourceType=M&contentIds=${contentIds}`);
|
|
543
543
|
};
|
|
544
544
|
|
|
545
545
|
// src/modules/vrbt_url.ts
|
|
546
546
|
var getVrbtUrl = async (contentIds) => {
|
|
547
547
|
contentIds = contentIds.replace(/,/g, "|");
|
|
548
|
-
return await
|
|
548
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
549
549
|
`https://app.c.nf.migu.cn/strategy/vrbt/play/v1.0?contentIds=${contentIds}`,
|
|
550
550
|
{
|
|
551
551
|
headers: {
|
|
@@ -569,7 +569,7 @@ var getLyric = async (contentId, type = "lrc") => {
|
|
|
569
569
|
status: res.status,
|
|
570
570
|
error: res.data.info || res.data
|
|
571
571
|
};
|
|
572
|
-
if (data.length === 0) return { error: "
|
|
572
|
+
if (res.data.resource.length === 0) return { error: "can not find resource!", success: false, data };
|
|
573
573
|
let lrc, lrcUrl, trc, trcUrl;
|
|
574
574
|
if (types.includes("lrc")) {
|
|
575
575
|
lrcUrl = data.lrcUrl || "";
|
|
@@ -627,7 +627,7 @@ var addUserCollect = async (pacmtoken, type, contentId, title, userId) => {
|
|
|
627
627
|
} else {
|
|
628
628
|
return { success: false, err: "\u672A\u77E5type\u7C7B\u578B -playlist\u6216comment\u6216album" };
|
|
629
629
|
}
|
|
630
|
-
const { data, cookies } = await
|
|
630
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
631
631
|
`https://app.u.nf.migu.cn/MIGUM2.0/v1.0/user/add_collection.do`,
|
|
632
632
|
{ params: jsonParams, cookie: { pacmtoken } }
|
|
633
633
|
);
|
|
@@ -659,17 +659,17 @@ var removeUserCollect = async (pacmtoken, type, contentId, userId) => {
|
|
|
659
659
|
} else {
|
|
660
660
|
return { success: false, err: "\u672A\u77E5type\u7C7B\u578B -playlist,comment\u6216album" };
|
|
661
661
|
}
|
|
662
|
-
const { data, cookies } = await
|
|
662
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
663
663
|
`https://app.u.nf.migu.cn/MIGUM2.0/v1.0/user/del_collection.do`,
|
|
664
664
|
{ params: jsonParams, cookie: { pacmtoken } }
|
|
665
665
|
);
|
|
666
666
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
// src/modules/
|
|
669
|
+
// src/modules/user_like_add.ts
|
|
670
670
|
var likeSong = async (pacmtoken, contentIds) => {
|
|
671
671
|
const contentIdsList = contentIds.split(",");
|
|
672
|
-
const { data, cookies } = await
|
|
672
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/user/api/add-music-list-song/v1.0`, {
|
|
673
673
|
method: "POST",
|
|
674
674
|
cookie: { pacmtoken },
|
|
675
675
|
body: JSON.stringify({
|
|
@@ -689,7 +689,7 @@ var dislikeSong = async (pacmtoken, contentId) => {
|
|
|
689
689
|
"contentId": contentId,
|
|
690
690
|
"songflag": "2"
|
|
691
691
|
};
|
|
692
|
-
const { data, cookies } = await
|
|
692
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/user/h5-import-musiclist/v1.0`, {
|
|
693
693
|
method: "POST",
|
|
694
694
|
cookie: { pacmtoken },
|
|
695
695
|
body: JSON.stringify(body),
|
|
@@ -708,7 +708,7 @@ var editUserMyList = async (pacmtoken, title, playlistId) => {
|
|
|
708
708
|
"id": playlistId,
|
|
709
709
|
"songflag": "0"
|
|
710
710
|
};
|
|
711
|
-
const { data, cookies } = await
|
|
711
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/user/h5-import-musiclist/v1.0`, {
|
|
712
712
|
method: "POST",
|
|
713
713
|
cookie: { pacmtoken },
|
|
714
714
|
body: JSON.stringify(body),
|
|
@@ -726,7 +726,7 @@ var addUserMyList = async (pacmtoken, title) => {
|
|
|
726
726
|
"channel": "23",
|
|
727
727
|
"type": "self_build"
|
|
728
728
|
};
|
|
729
|
-
const { data, cookies } = await
|
|
729
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/open/api/music-list/add/v2.0`, {
|
|
730
730
|
method: "POST",
|
|
731
731
|
cookie: { pacmtoken },
|
|
732
732
|
body: JSON.stringify(body),
|
|
@@ -739,7 +739,7 @@ var addUserMyList = async (pacmtoken, title) => {
|
|
|
739
739
|
|
|
740
740
|
// src/modules/user_myList_remove.ts
|
|
741
741
|
var removeUserMyList = async (pacmtoken, playlistId) => {
|
|
742
|
-
const { data, cookies } = await
|
|
742
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/v1.0/user/deleteMusicList.do?channel=23&id=${playlistId}`, {
|
|
743
743
|
cookie: { pacmtoken }
|
|
744
744
|
});
|
|
745
745
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -747,31 +747,31 @@ var removeUserMyList = async (pacmtoken, playlistId) => {
|
|
|
747
747
|
|
|
748
748
|
// src/modules/radio_song.ts
|
|
749
749
|
var getRadioSong = async (radioId, page = 1) => {
|
|
750
|
-
return await
|
|
750
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/column/music-radio/scene/song/v3.0?remain=0&pageNo=${page}&actionId=1&radioId=${radioId}`);
|
|
751
751
|
};
|
|
752
752
|
|
|
753
753
|
// src/modules/column_newCD.ts
|
|
754
754
|
var getNewCDList = async () => {
|
|
755
|
-
return await
|
|
755
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/v1.0/template/get-new-cd-list-header`);
|
|
756
756
|
};
|
|
757
757
|
|
|
758
758
|
// src/modules/column_newSong.ts
|
|
759
759
|
var getNewSongList = async () => {
|
|
760
|
-
return await
|
|
760
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/v1.0/template/get-new-music-list-header`);
|
|
761
761
|
};
|
|
762
762
|
|
|
763
763
|
// src/modules/column_info.ts
|
|
764
764
|
var getColumnInfo = async (columnId) => {
|
|
765
|
-
return await
|
|
765
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/column/column-info/h5/v2.0?columnId=${columnId}`);
|
|
766
766
|
};
|
|
767
767
|
|
|
768
|
-
// src/modules/
|
|
768
|
+
// src/modules/user_myList_song_add.ts
|
|
769
769
|
var addSongToMyList = async (pacmtoken, playlistId, contentIds) => {
|
|
770
770
|
const body = {
|
|
771
771
|
"id": playlistId,
|
|
772
772
|
"contentIds": contentIds.split(",")
|
|
773
773
|
};
|
|
774
|
-
const { data, cookies } = await
|
|
774
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/user/api/add-music-list-song/v1.0`, {
|
|
775
775
|
method: "POST",
|
|
776
776
|
cookie: { pacmtoken },
|
|
777
777
|
body: JSON.stringify(body),
|
|
@@ -782,7 +782,7 @@ var addSongToMyList = async (pacmtoken, playlistId, contentIds) => {
|
|
|
782
782
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
783
783
|
};
|
|
784
784
|
|
|
785
|
-
// src/modules/
|
|
785
|
+
// src/modules/user_myList_song_remove.ts
|
|
786
786
|
var removeSongFromMyList = async (pacmtoken, playlistId, contentId) => {
|
|
787
787
|
const body = {
|
|
788
788
|
"channel": "23",
|
|
@@ -790,7 +790,7 @@ var removeSongFromMyList = async (pacmtoken, playlistId, contentId) => {
|
|
|
790
790
|
"contentId": contentId,
|
|
791
791
|
"id": playlistId
|
|
792
792
|
};
|
|
793
|
-
const { data, cookies } = await
|
|
793
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/pc/user/h5-import-musiclist/v1.0`, {
|
|
794
794
|
method: "POST",
|
|
795
795
|
cookie: { pacmtoken },
|
|
796
796
|
body: JSON.stringify(body),
|
|
@@ -811,18 +811,18 @@ var getSVideoUserInfo = async (type, uid = "", videoUserId = "") => {
|
|
|
811
811
|
} else {
|
|
812
812
|
return { error: "Invalid parameter type", success: false };
|
|
813
813
|
}
|
|
814
|
-
return
|
|
814
|
+
return _chunkZEGJU5LWcjs.h5fetch.call(void 0, url);
|
|
815
815
|
};
|
|
816
816
|
|
|
817
817
|
// src/modules/concert_info.ts
|
|
818
818
|
var getConcertInfo = async (concertId) => {
|
|
819
|
-
return await
|
|
819
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://c.musicapp.migu.cn/MIGUM2.0/v2.0/content/queryConcertSummary.do?columnId=${concertId}`);
|
|
820
820
|
};
|
|
821
821
|
|
|
822
822
|
// src/modules/concert_url.ts
|
|
823
823
|
var getConcertUrl = async (concertId, liveId, rateLevel = 1) => {
|
|
824
|
-
return await
|
|
825
|
-
`
|
|
824
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
825
|
+
`https://c.musicapp.migu.cn/MIGUM2.0/v2.1/danmaku/liveServerHosts.do?concertId=${concertId}&liveId=${liveId}&liveType=1&rateLevel=${rateLevel}`,
|
|
826
826
|
{
|
|
827
827
|
headers: {
|
|
828
828
|
"channel": "0146921"
|
|
@@ -834,49 +834,28 @@ var getConcertUrl = async (concertId, liveId, rateLevel = 1) => {
|
|
|
834
834
|
|
|
835
835
|
// src/modules/concert_detail.ts
|
|
836
836
|
var getConcertDetail = async (concertId) => {
|
|
837
|
-
return await
|
|
837
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/v1.0/template/concert-detail/release?columnId=${concertId}&templateVersion=10`);
|
|
838
838
|
};
|
|
839
839
|
|
|
840
840
|
// src/modules/concert_comment.ts
|
|
841
841
|
var getConcertComment = async (concertId, page = 1, size = 20) => {
|
|
842
|
-
return await
|
|
842
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://b.musicapp.migu.cn/MIGUM2.0/v1.0/danmaku/danmakuHisListPage.do?page=${page}&pageSize=${size}&resourceId=${concertId}`);
|
|
843
843
|
};
|
|
844
844
|
|
|
845
845
|
// src/modules/playlist_match.ts
|
|
846
846
|
var matchPlaylist = async (url) => {
|
|
847
847
|
url = encodeURIComponent(url);
|
|
848
|
-
return await
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
// src/modules/url_redirect.ts
|
|
852
|
-
|
|
853
|
-
var getRedirectUrl = async (contentId, toneFlag = "PQ", copyrightId, isVip = true) => {
|
|
854
|
-
if (isVip && (!copyrightId || copyrightId === "0")) return "";
|
|
855
|
-
return await _axios2.default.head(
|
|
856
|
-
isVip ? `https://c.musicapp.migu.cn/strategy/listen-song/v2.3` : `https://app.pd.nf.migu.cn/MIGUM2.0/v1.0/content/sub/listenSong.do`,
|
|
857
|
-
{
|
|
858
|
-
maxRedirects: 0,
|
|
859
|
-
params: {
|
|
860
|
-
"toneFlag": "PQ",
|
|
861
|
-
"copyrightId": copyrightId || "0",
|
|
862
|
-
"contentId": contentId,
|
|
863
|
-
"resourceType": "2",
|
|
864
|
-
"channel": "0146921"
|
|
865
|
-
},
|
|
866
|
-
headers: { "User-Agent": "okhttp/3.14.9" }
|
|
867
|
-
// !==null
|
|
868
|
-
}
|
|
869
|
-
).catch((err) => err.response).then((res) => _nullishCoalesce(_optionalChain([res, 'optionalAccess', _6 => _6.headers, 'optionalAccess', _7 => _7.location, 'optionalAccess', _8 => _8.split, 'call', _9 => _9("?"), 'access', _10 => _10[0]]), () => ( ""))).then((url) => _chunkILRMRBMKcjs.changeQuality.call(void 0, url, toneFlag, "PQ"));
|
|
848
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://c.musicapp.migu.cn/v1.0/content/get-import-songList?url=${url}`);
|
|
870
849
|
};
|
|
871
850
|
|
|
872
851
|
// src/modules/concert_mv.ts
|
|
873
852
|
var getConcertRecommendMv = async (concertId) => {
|
|
874
|
-
return await
|
|
853
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/v1.0/liveshow/query-mv-detail?concertId=${concertId}`);
|
|
875
854
|
};
|
|
876
855
|
|
|
877
856
|
// src/modules/mv_song.ts
|
|
878
857
|
var getMvBySong = async (songId) => {
|
|
879
|
-
return await
|
|
858
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
880
859
|
`https://app.c.nf.migu.cn/MIGUM2.0/strategy/mv-player/video/v1.0?songId=${songId}`,
|
|
881
860
|
{
|
|
882
861
|
headers: {
|
|
@@ -898,7 +877,7 @@ var isFollowAuthor = async (pacmtoken, authorIds, authorType = "singer") => {
|
|
|
898
877
|
"authorType": authorType
|
|
899
878
|
};
|
|
900
879
|
});
|
|
901
|
-
const { data, cookies } = await
|
|
880
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
902
881
|
`https://app.u.nf.migu.cn/user/i/social/is-follow-subscribe/v1.0`,
|
|
903
882
|
{
|
|
904
883
|
method: "POST",
|
|
@@ -915,23 +894,23 @@ var isFollowAuthor = async (pacmtoken, authorIds, authorType = "singer") => {
|
|
|
915
894
|
|
|
916
895
|
// src/modules/playlist_vip.ts
|
|
917
896
|
var getVipPlaylist = async (size = 10) => {
|
|
918
|
-
return await
|
|
897
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/vip-exclusive/auditions-list/v1.0?pageSize=${size}`);
|
|
919
898
|
};
|
|
920
899
|
|
|
921
|
-
// src/modules/
|
|
900
|
+
// src/modules/user_page_header.ts
|
|
922
901
|
var getUserHeader = async (userId) => {
|
|
923
|
-
return await
|
|
902
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
924
903
|
`https://app.c.nf.migu.cn/user/api/my-page-header/v1.0`,
|
|
925
904
|
{ params: { userId } }
|
|
926
905
|
);
|
|
927
906
|
};
|
|
928
907
|
|
|
929
|
-
// src/modules/
|
|
908
|
+
// src/modules/user_page_song.ts
|
|
930
909
|
var getUserSongPage = async (userId, videoUserId) => {
|
|
931
910
|
if (!userId && !videoUserId) {
|
|
932
911
|
return { data: { error: "userId or videoUserId is required" } };
|
|
933
912
|
}
|
|
934
|
-
return await
|
|
913
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
935
914
|
`https://app.c.nf.migu.cn/user/api/my-page-music/v1.0`,
|
|
936
915
|
{
|
|
937
916
|
params: { userId, videoUserId },
|
|
@@ -940,27 +919,27 @@ var getUserSongPage = async (userId, videoUserId) => {
|
|
|
940
919
|
);
|
|
941
920
|
};
|
|
942
921
|
|
|
943
|
-
// src/modules/
|
|
944
|
-
var getPageInfo = async (
|
|
945
|
-
if (!
|
|
946
|
-
return { success: false, data: { error: "
|
|
922
|
+
// src/modules/page_info.ts
|
|
923
|
+
var getPageInfo = async (id, type) => {
|
|
924
|
+
if (!id && !type) {
|
|
925
|
+
return { success: false, data: { error: "id and type is required" } };
|
|
947
926
|
}
|
|
948
|
-
if (pageId
|
|
927
|
+
if (!["pageId", "sceneId"].includes(type)) {
|
|
949
928
|
return { success: false, data: { error: "choose pageId or sceneId to get page info" } };
|
|
950
929
|
}
|
|
951
|
-
const base = "https://app.c.nf.migu.cn/bmw";
|
|
952
|
-
if (pageId) return await
|
|
953
|
-
if (sceneId) return await
|
|
930
|
+
const base = "https://app.c.nf.migu.cn/bmw", h = { headers: { recommendstatus: "1" } };
|
|
931
|
+
if (type === "pageId") return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `${base}/page-info/v2.0?pageId=${id}`, h);
|
|
932
|
+
if (type === "sceneId") return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `${base}/page/view/v1.0?columnId=${id}`, h);
|
|
954
933
|
};
|
|
955
934
|
|
|
956
935
|
// src/modules/page_tab.ts
|
|
957
936
|
var getPageTab = async () => {
|
|
958
|
-
return await
|
|
937
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/music/nav-bar/v1.0`);
|
|
959
938
|
};
|
|
960
939
|
|
|
961
940
|
// src/modules/svideo_recommend.ts
|
|
962
941
|
var getSVideoRecommend = async (pacmtoken) => {
|
|
963
|
-
const { data, cookies } = await
|
|
942
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/resource-dataloader/recommend-video/v2.0", {
|
|
964
943
|
method: "GET",
|
|
965
944
|
cookie: { pacmtoken },
|
|
966
945
|
params: {
|
|
@@ -974,7 +953,7 @@ var getSVideoRecommend = async (pacmtoken) => {
|
|
|
974
953
|
|
|
975
954
|
// src/modules/follow_following_vra.ts
|
|
976
955
|
var getFollowingVra = async (userId, page = 1) => {
|
|
977
|
-
return await
|
|
956
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
978
957
|
`https://app.c.nf.migu.cn/bmw/page-data/vrbt/follow-videouserlist/v2.0`,
|
|
979
958
|
{ params: {
|
|
980
959
|
offset: page - 1,
|
|
@@ -986,7 +965,7 @@ var getFollowingVra = async (userId, page = 1) => {
|
|
|
986
965
|
|
|
987
966
|
// src/modules/follow_follower.ts
|
|
988
967
|
var getFollowerList = async (params) => {
|
|
989
|
-
if (params.type === "music") return await
|
|
968
|
+
if (params.type === "music") return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
990
969
|
`https://app.c.nf.migu.cn/MIGUM2.0/v1.0/user/follower.do`,
|
|
991
970
|
{ params: {
|
|
992
971
|
pageNo: params.page || 1,
|
|
@@ -999,7 +978,7 @@ var getFollowerList = async (params) => {
|
|
|
999
978
|
success: false,
|
|
1000
979
|
error: "userId or videoUserId is required"
|
|
1001
980
|
};
|
|
1002
|
-
return await
|
|
981
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1003
982
|
`https://app.c.nf.migu.cn/user/i/social/fans-list/v1.0`,
|
|
1004
983
|
{ params: {
|
|
1005
984
|
userId: params.userId,
|
|
@@ -1013,7 +992,7 @@ var getFollowerList = async (params) => {
|
|
|
1013
992
|
var getFollowingList = async (userId, type, page = 1, size = 20) => {
|
|
1014
993
|
if (!userId) return { success: false, error: "userId is required" };
|
|
1015
994
|
if (type !== "user" && type !== "singer") return { success: false, error: "type is invalid" };
|
|
1016
|
-
return await
|
|
995
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1017
996
|
`https://app.c.nf.migu.cn/MIGUM2.0/v1.0/user/followingSingers.do`,
|
|
1018
997
|
{ params: {
|
|
1019
998
|
"pageNo": page,
|
|
@@ -1026,7 +1005,7 @@ var getFollowingList = async (userId, type, page = 1, size = 20) => {
|
|
|
1026
1005
|
|
|
1027
1006
|
// src/modules/follow_add.ts
|
|
1028
1007
|
var addFollower = async (pacmtoken, singerId) => {
|
|
1029
|
-
const { data, cookies } = await
|
|
1008
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
1030
1009
|
`https://app.u.nf.migu.cn/user/social/api/add-follow/v1.0`,
|
|
1031
1010
|
{
|
|
1032
1011
|
params: {
|
|
@@ -1041,7 +1020,7 @@ var addFollower = async (pacmtoken, singerId) => {
|
|
|
1041
1020
|
|
|
1042
1021
|
// src/modules/follow_remove.ts
|
|
1043
1022
|
var removeFollower = async (pacmtoken, singerId) => {
|
|
1044
|
-
const { data, cookies } = await
|
|
1023
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
1045
1024
|
`https://app.u.nf.migu.cn/user/social/api/delete-follow/v1.0?followId=${singerId}`,
|
|
1046
1025
|
{ cookie: { pacmtoken } }
|
|
1047
1026
|
);
|
|
@@ -1050,7 +1029,7 @@ var removeFollower = async (pacmtoken, singerId) => {
|
|
|
1050
1029
|
|
|
1051
1030
|
// src/modules/passport_logout.ts
|
|
1052
1031
|
var logout = async (pacmtoken) => {
|
|
1053
|
-
const { data } = await
|
|
1032
|
+
const { data } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://c.musicapp.migu.cn/mgateway/api/clearPacMtoken`, {
|
|
1054
1033
|
cookie: { pacmtoken }
|
|
1055
1034
|
});
|
|
1056
1035
|
return data;
|
|
@@ -1058,7 +1037,7 @@ var logout = async (pacmtoken) => {
|
|
|
1058
1037
|
|
|
1059
1038
|
// src/modules/share_video.ts
|
|
1060
1039
|
var shareVideo = async (resourceType, contentId, userId) => {
|
|
1061
|
-
return await
|
|
1040
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1062
1041
|
`https://app.c.nf.migu.cn/resource/share-info/v2.0`,
|
|
1063
1042
|
{ params: {
|
|
1064
1043
|
"appId": "music",
|
|
@@ -1071,7 +1050,7 @@ var shareVideo = async (resourceType, contentId, userId) => {
|
|
|
1071
1050
|
|
|
1072
1051
|
// src/modules/share_common.ts
|
|
1073
1052
|
var shareCommon = async (resourceType, contentId, contentName, targetUserName, copyrightId) => {
|
|
1074
|
-
return await
|
|
1053
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1075
1054
|
`https://app.c.nf.migu.cn/MIGUM2.0/v1.0/content/shareInfo.do`,
|
|
1076
1055
|
{ params: {
|
|
1077
1056
|
"appId": "music",
|
|
@@ -1087,7 +1066,7 @@ var shareCommon = async (resourceType, contentId, contentName, targetUserName, c
|
|
|
1087
1066
|
|
|
1088
1067
|
// src/modules/user_audioBook.ts
|
|
1089
1068
|
var getUserAudioBook = async (pacmtoken, recentListenNum = 10, recommendNum = 5) => {
|
|
1090
|
-
const { data, cookies } = await
|
|
1069
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://pd.musicapp.migu.cn/bmw/audio-book/my-audio-book/v1.0", {
|
|
1091
1070
|
cookie: { pacmtoken },
|
|
1092
1071
|
headers: { "isMock": "00" },
|
|
1093
1072
|
params: {
|
|
@@ -1100,7 +1079,7 @@ var getUserAudioBook = async (pacmtoken, recentListenNum = 10, recommendNum = 5)
|
|
|
1100
1079
|
|
|
1101
1080
|
// src/modules/user_listenRank.ts
|
|
1102
1081
|
var getListenRank = async (pacmtoken, type) => {
|
|
1103
|
-
const { data, cookies } = await
|
|
1082
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/bmw/listen-song/ranking/v1.0`, {
|
|
1104
1083
|
method: "POST",
|
|
1105
1084
|
cookie: { pacmtoken },
|
|
1106
1085
|
body: JSON.stringify({ "type": type === "year" ? 2 : 1 }),
|
|
@@ -1111,7 +1090,7 @@ var getListenRank = async (pacmtoken, type) => {
|
|
|
1111
1090
|
|
|
1112
1091
|
// src/modules/cloud_url.ts
|
|
1113
1092
|
var getCloudUrl = async (pacmtoken, contentId, toneFlag = "PQ") => {
|
|
1114
|
-
const { data, cookies } = await
|
|
1093
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/MIGUM3.0/strategy/cloud/listen-url/v1.0", {
|
|
1115
1094
|
cookie: { pacmtoken },
|
|
1116
1095
|
headers: { "channel": "0146931", "version": "7.41.13" },
|
|
1117
1096
|
params: {
|
|
@@ -1125,7 +1104,7 @@ var getCloudUrl = async (pacmtoken, contentId, toneFlag = "PQ") => {
|
|
|
1125
1104
|
|
|
1126
1105
|
// src/modules/url_dl_v1.ts
|
|
1127
1106
|
var getDLUrlV1 = async (songId, toneFlag = "PQ") => {
|
|
1128
|
-
return await
|
|
1107
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1129
1108
|
`https://app.c.nf.migu.cn/MIGUM2.0/strategy/download-url/by-songid/v1.0`,
|
|
1130
1109
|
{
|
|
1131
1110
|
headers: { "channel": "0146931", "version": "7.41.13" },
|
|
@@ -1137,47 +1116,12 @@ var getDLUrlV1 = async (songId, toneFlag = "PQ") => {
|
|
|
1137
1116
|
);
|
|
1138
1117
|
};
|
|
1139
1118
|
|
|
1140
|
-
// src/modules/url_m2.ts
|
|
1141
|
-
var getUrlM2 = async (contentId, toneFlag = "PQ", copyrightId, songId, albumId) => {
|
|
1142
|
-
const data = await _chunkJOOWMEQPcjs.h5fetch.call(void 0,
|
|
1143
|
-
`https://app.c.nf.migu.cn/MIGUM2.0/v2.1/content/listen-url`,
|
|
1144
|
-
{
|
|
1145
|
-
params: {
|
|
1146
|
-
"netType": "01",
|
|
1147
|
-
"resourceType": "2",
|
|
1148
|
-
contentId,
|
|
1149
|
-
"toneFlag": "PQ",
|
|
1150
|
-
// PQ 默认返回,覆盖处理
|
|
1151
|
-
"copyrightId": copyrightId || void 0,
|
|
1152
|
-
"albumId": albumId || void 0,
|
|
1153
|
-
"songId": songId || void 0
|
|
1154
|
-
},
|
|
1155
|
-
headers: { "channel": "0146832", "version": "7.41.13" }
|
|
1156
|
-
}
|
|
1157
|
-
);
|
|
1158
|
-
if (_optionalChain([data, 'optionalAccess', _11 => _11.data, 'optionalAccess', _12 => _12.url]) === "") {
|
|
1159
|
-
return { success: false, error: "URL \u4E3A\u7A7A" };
|
|
1160
|
-
}
|
|
1161
|
-
data.data.oriUrl = data.data.url || "";
|
|
1162
|
-
data.data.url = _chunkILRMRBMKcjs.changeQuality.call(void 0, data.data.url || "", toneFlag, "PQ", true);
|
|
1163
|
-
if (_optionalChain([data, 'optionalAccess', _13 => _13.data, 'optionalAccess', _14 => _14.songItem, 'optionalAccess', _15 => _15.z3dCode])) {
|
|
1164
|
-
const a = "ftp://218.200.160.122:21/", b = "https://freetyst.nf.migu.cn/";
|
|
1165
|
-
const z3dCode = data.data.songItem.z3dCode;
|
|
1166
|
-
z3dCode.url = encodeURI(_optionalChain([z3dCode, 'optionalAccess', _16 => _16.url, 'optionalAccess', _17 => _17.replace, 'call', _18 => _18(a, b)]) || "");
|
|
1167
|
-
z3dCode.iosUrl = encodeURI(_optionalChain([z3dCode, 'optionalAccess', _19 => _19.iosUrl, 'optionalAccess', _20 => _20.replace, 'call', _21 => _21(a, b)]) || "");
|
|
1168
|
-
z3dCode.androidUrl = encodeURI(_optionalChain([z3dCode, 'optionalAccess', _22 => _22.androidUrl, 'optionalAccess', _23 => _23.replace, 'call', _24 => _24(a, b)]) || "");
|
|
1169
|
-
z3dCode.h5Url = encodeURI(_optionalChain([z3dCode, 'optionalAccess', _25 => _25.h5Url, 'optionalAccess', _26 => _26.replace, 'call', _27 => _27(a, b)]) || "");
|
|
1170
|
-
data.data.songItem.z3dCode = z3dCode;
|
|
1171
|
-
}
|
|
1172
|
-
return data;
|
|
1173
|
-
};
|
|
1174
|
-
|
|
1175
1119
|
// src/modules/user_emoji_action.ts
|
|
1176
1120
|
var emojiAction = async (pacmtoken, contentId, emojiId, action) => {
|
|
1177
1121
|
if (action !== "add" && action !== "cancel") {
|
|
1178
1122
|
return { data: { success: false, error: "action\u5FC5\u987B\u662Fadd\u6216cancel" }, newPacmToken: "" };
|
|
1179
1123
|
}
|
|
1180
|
-
const { data, cookies } = await
|
|
1124
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/user/api/resource-react-emoji/add-cancel/v1.0`, {
|
|
1181
1125
|
method: "POST",
|
|
1182
1126
|
cookie: { pacmtoken },
|
|
1183
1127
|
body: JSON.stringify({
|
|
@@ -1202,7 +1146,7 @@ var getEmojiNum = async (pacmtoken, contentIds) => {
|
|
|
1202
1146
|
"resourceId": id,
|
|
1203
1147
|
"resourceType": "2"
|
|
1204
1148
|
}));
|
|
1205
|
-
const { data, cookies } = await
|
|
1149
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/user/api/resource-module/query/v1.0`, {
|
|
1206
1150
|
method: "POST",
|
|
1207
1151
|
cookie: pacmtoken ? { pacmtoken } : void 0,
|
|
1208
1152
|
body: JSON.stringify({ resourceModuleQueryParam }),
|
|
@@ -1214,7 +1158,7 @@ var getEmojiNum = async (pacmtoken, contentIds) => {
|
|
|
1214
1158
|
// src/modules/user_heartthrob.ts
|
|
1215
1159
|
var getUserHeartthrob = async (pacmtoken, songId) => {
|
|
1216
1160
|
if (!pacmtoken) return { data: { success: false, code: "290001", info: "\u8BF7\u5148\u767B\u5F55" }, newPacmToken: "" };
|
|
1217
|
-
const { data, cookies } = await
|
|
1161
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/MIGUM3.0/resource-dataloader/recommend-song-listen/v1.0", {
|
|
1218
1162
|
cookie: { pacmtoken },
|
|
1219
1163
|
params: { "songId": songId }
|
|
1220
1164
|
});
|
|
@@ -1231,7 +1175,7 @@ var deleteCloudMusic = async (pacmtoken, contentIds) => {
|
|
|
1231
1175
|
"contentId": item,
|
|
1232
1176
|
"type": "0"
|
|
1233
1177
|
}));
|
|
1234
|
-
const { data, cookies } = await
|
|
1178
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/user/cloud/music/local/v1.0", {
|
|
1235
1179
|
method: "DELETE",
|
|
1236
1180
|
body: JSON.stringify(deleteSongInfos),
|
|
1237
1181
|
cookie: { pacmtoken },
|
|
@@ -1245,7 +1189,7 @@ var getInteractionMsg = async (pacmtoken, type, page = 1, size = 10) => {
|
|
|
1245
1189
|
if (!["fans", "collection"].includes(type)) {
|
|
1246
1190
|
return { data: { success: false, error: "type must be fans or collection" }, newPacmToken: void 0 };
|
|
1247
1191
|
}
|
|
1248
|
-
const { data, cookies } = await
|
|
1192
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.u.nf.migu.cn/MIGUM2.0/v2.0/user/interaction.do`, {
|
|
1249
1193
|
cookie: { pacmtoken },
|
|
1250
1194
|
params: { "type": type === "fans" ? 2 : 1, pageNo: page, pageSize: size }
|
|
1251
1195
|
});
|
|
@@ -1254,7 +1198,7 @@ var getInteractionMsg = async (pacmtoken, type, page = 1, size = 10) => {
|
|
|
1254
1198
|
|
|
1255
1199
|
// src/modules/user_message_notice.ts
|
|
1256
1200
|
var getNoticeMsg = async (pacmtoken, page = 1, size = 10) => {
|
|
1257
|
-
const { data, cookies } = await
|
|
1201
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.u.nf.migu.cn/MIGUM2.0/v1.0/user/notifies.do`, {
|
|
1258
1202
|
cookie: { pacmtoken },
|
|
1259
1203
|
params: { pageNo: page, pageSize: size }
|
|
1260
1204
|
});
|
|
@@ -1263,7 +1207,7 @@ var getNoticeMsg = async (pacmtoken, page = 1, size = 10) => {
|
|
|
1263
1207
|
|
|
1264
1208
|
// src/modules/user_message_thumbs.ts
|
|
1265
1209
|
var getThumbsMsg = async (pacmtoken, page = 1, size = 10) => {
|
|
1266
|
-
const { data, cookies } = await
|
|
1210
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.u.nf.migu.cn/MIGUM2.0/v1.0/user/thumbsDetail.do`, {
|
|
1267
1211
|
cookie: { pacmtoken },
|
|
1268
1212
|
params: { pageNo: page, pageSize: size }
|
|
1269
1213
|
});
|
|
@@ -1295,7 +1239,7 @@ var getCloudUploadUrl = async (pacmtoken, file) => {
|
|
|
1295
1239
|
return { data: { success: false, error: "file ext is not supported" }, newPacmToken: void 0 };
|
|
1296
1240
|
}
|
|
1297
1241
|
const hash = await getHash(file), size = file.size;
|
|
1298
|
-
const { data, cookies } = await
|
|
1242
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/MIGUM3.0/user/cloud/meta/upload/v1.0", {
|
|
1299
1243
|
method: "POST",
|
|
1300
1244
|
body: JSON.stringify([{
|
|
1301
1245
|
"contentId": hash,
|
|
@@ -1311,7 +1255,7 @@ var getCloudUploadUrl = async (pacmtoken, file) => {
|
|
|
1311
1255
|
|
|
1312
1256
|
// src/modules/comment_delete.ts
|
|
1313
1257
|
var deleteComment = async (pacmtoken, resourceId) => {
|
|
1314
|
-
const { data, cookies } = await
|
|
1258
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0,
|
|
1315
1259
|
`https://app.u.nf.migu.cn/MIGUM2.0/v1.0/user/delComment.do`,
|
|
1316
1260
|
{
|
|
1317
1261
|
method: "GET",
|
|
@@ -1328,17 +1272,17 @@ var deleteComment = async (pacmtoken, resourceId) => {
|
|
|
1328
1272
|
|
|
1329
1273
|
// src/modules/singer_letter.ts
|
|
1330
1274
|
var getSingerLetter = async (singerId, pageId) => {
|
|
1331
|
-
return await
|
|
1275
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/user/blog/api/love-letter/query/v1.0?resourceId=${singerId}&nextPageId=${pageId}`);
|
|
1332
1276
|
};
|
|
1333
1277
|
|
|
1334
1278
|
// src/modules/singer_mv.ts
|
|
1335
1279
|
var getSingerMv = async (singerId, page) => {
|
|
1336
|
-
return await
|
|
1280
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/bmw/singer/video/v1.0?pageNo=${page || 1}&singerId=${singerId}`);
|
|
1337
1281
|
};
|
|
1338
1282
|
|
|
1339
1283
|
// src/modules/cloud_dl.ts
|
|
1340
1284
|
var getCloudDLUrl = async (pacmtoken, contentId, toneFlag = "PQ") => {
|
|
1341
|
-
const { data, cookies } = await
|
|
1285
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/MIGUM3.0/strategy/cloud/download-url/v1.0", {
|
|
1342
1286
|
cookie: { pacmtoken },
|
|
1343
1287
|
headers: { "channel": "0146931", "version": "7.41.13" },
|
|
1344
1288
|
params: {
|
|
@@ -1352,7 +1296,7 @@ var getCloudDLUrl = async (pacmtoken, contentId, toneFlag = "PQ") => {
|
|
|
1352
1296
|
|
|
1353
1297
|
// src/modules/user_phoneInfo.ts
|
|
1354
1298
|
var getUserPhoneInfo = async (pacmtoken) => {
|
|
1355
|
-
const { data, cookies } = await
|
|
1299
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/MIGUM2.0/v1.0/tone/isrbtuser.do", {
|
|
1356
1300
|
cookie: { pacmtoken },
|
|
1357
1301
|
headers: {
|
|
1358
1302
|
"channel": "0146921",
|
|
@@ -1364,7 +1308,7 @@ var getUserPhoneInfo = async (pacmtoken) => {
|
|
|
1364
1308
|
|
|
1365
1309
|
// src/modules/recommend_listenFreely_tab.ts
|
|
1366
1310
|
var getListenFreelyTab = async (pacmtoken = "") => {
|
|
1367
|
-
const { data, cookies } = await
|
|
1311
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/bmw/page/view/listen-freely/v1.0`, {
|
|
1368
1312
|
cookie: pacmtoken ? { pacmtoken } : void 0
|
|
1369
1313
|
});
|
|
1370
1314
|
return { data, newPacmToken: cookies.pacmtoken || void 0 };
|
|
@@ -1373,7 +1317,7 @@ var getListenFreelyTab = async (pacmtoken = "") => {
|
|
|
1373
1317
|
// src/modules/recommend_listenFreely.ts
|
|
1374
1318
|
var getListenFreelySongs = async (pacmtoken, modelId = "701000") => {
|
|
1375
1319
|
if (!pacmtoken) return { data: { success: false, code: "290001", info: "\u8BF7\u5148\u767B\u5F55" }, newPacmToken: void 0 };
|
|
1376
|
-
const { data, cookies } = await
|
|
1320
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, `https://app.c.nf.migu.cn/resource-dataloader/recommend/listen-freely/v2.0?modelId=${modelId}`, {
|
|
1377
1321
|
cookie: { pacmtoken }
|
|
1378
1322
|
});
|
|
1379
1323
|
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
@@ -1381,8 +1325,8 @@ var getListenFreelySongs = async (pacmtoken, modelId = "701000") => {
|
|
|
1381
1325
|
|
|
1382
1326
|
// src/modules/playlist_square_listByTag.ts
|
|
1383
1327
|
var getSquareListByTag = async (tagId, page) => {
|
|
1384
|
-
const res = await
|
|
1385
|
-
res.data.contentItemList = _optionalChain([res, 'optionalAccess',
|
|
1328
|
+
const res = await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/v1.0/template/musiclistplaza-listbytag?templateVersion=1&tagId=${tagId}&pageNumber=${page}`);
|
|
1329
|
+
res.data.contentItemList = _optionalChain([res, 'optionalAccess', _6 => _6.data, 'optionalAccess', _7 => _7.contentItemList, 'optionalAccess', _8 => _8.itemList, 'optionalAccess', _9 => _9.reduce, 'call', _10 => _10((acc, item) => {
|
|
1386
1330
|
if (!item.actionUrl || !item.actionUrl.includes("song-list-info")) {
|
|
1387
1331
|
return acc;
|
|
1388
1332
|
}
|
|
@@ -1390,25 +1334,25 @@ var getSquareListByTag = async (tagId, page) => {
|
|
|
1390
1334
|
acc.push(item);
|
|
1391
1335
|
return acc;
|
|
1392
1336
|
}, [])]) || [];
|
|
1393
|
-
res.data.hasNext = res.data.contentItemList.length < 30 ? false : _optionalChain([res, 'optionalAccess',
|
|
1337
|
+
res.data.hasNext = res.data.contentItemList.length < 30 ? false : _optionalChain([res, 'optionalAccess', _11 => _11.data, 'optionalAccess', _12 => _12.nextPageUrl]) !== void 0 && _optionalChain([res, 'optionalAccess', _13 => _13.data, 'optionalAccess', _14 => _14.nextPageUrl]) !== "";
|
|
1394
1338
|
return res;
|
|
1395
1339
|
};
|
|
1396
1340
|
|
|
1397
1341
|
// src/modules/playlist_square_recommend.ts
|
|
1398
1342
|
var getSquareRecommend = async () => {
|
|
1399
|
-
return await
|
|
1343
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/bmw/playlist-square/recommend-playlist/v1.0?templateVersion=2`);
|
|
1400
1344
|
};
|
|
1401
1345
|
|
|
1402
1346
|
// src/modules/playlist_square_tag.ts
|
|
1403
1347
|
var getSquareTag = async (needMoreTag = true) => {
|
|
1404
|
-
const baseTag = await
|
|
1348
|
+
const baseTag = await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/bmw/playlist-square/tab/v1.0`);
|
|
1405
1349
|
if (!needMoreTag) {
|
|
1406
1350
|
return baseTag;
|
|
1407
1351
|
}
|
|
1408
|
-
const moreTag = await
|
|
1352
|
+
const moreTag = await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/pc/v1.0/template/musiclistplaza-taglist/release`);
|
|
1409
1353
|
baseTag.data.moreTag = moreTag.data.map((item) => {
|
|
1410
|
-
const title = _optionalChain([item, 'optionalAccess',
|
|
1411
|
-
const tagList = _optionalChain([item, 'optionalAccess',
|
|
1354
|
+
const title = _optionalChain([item, 'optionalAccess', _15 => _15.header, 'optionalAccess', _16 => _16.title]);
|
|
1355
|
+
const tagList = _optionalChain([item, 'optionalAccess', _17 => _17.content, 'access', _18 => _18.map, 'call', _19 => _19((it) => ({
|
|
1412
1356
|
tagName: it.texts[0],
|
|
1413
1357
|
tagId: it.texts[1]
|
|
1414
1358
|
}))]);
|
|
@@ -1420,13 +1364,13 @@ var getSquareTag = async (needMoreTag = true) => {
|
|
|
1420
1364
|
// src/modules/resourceinfo_song.ts
|
|
1421
1365
|
var getSongInfo = async (contentIds) => {
|
|
1422
1366
|
contentIds = contentIds.replace(/,/g, "|");
|
|
1423
|
-
return await
|
|
1367
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/resource/song/by-contentids/v2.0?contentId=${contentIds}`);
|
|
1424
1368
|
};
|
|
1425
1369
|
|
|
1426
1370
|
// src/modules/user_ordered.ts
|
|
1427
1371
|
var getUserOrdered = async (pacmtoken) => {
|
|
1428
1372
|
if (!pacmtoken) return { data: { success: false, code: "290001", info: "\u8BF7\u5148\u767B\u5F55" }, newPacmToken: void 0 };
|
|
1429
|
-
const { data, cookies } = await
|
|
1373
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/MIGUM3.0/strategy/song-ordered/v2.0", {
|
|
1430
1374
|
cookie: { pacmtoken },
|
|
1431
1375
|
headers: { "channel": "014X031" }
|
|
1432
1376
|
});
|
|
@@ -1435,22 +1379,64 @@ var getUserOrdered = async (pacmtoken) => {
|
|
|
1435
1379
|
|
|
1436
1380
|
// src/modules/dalbum_info.ts
|
|
1437
1381
|
var getDAlbumInfo = async (dAlbumId) => {
|
|
1438
|
-
return await
|
|
1382
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/resource/dalbum/v2.0?dAlbumId=${dAlbumId}`);
|
|
1439
1383
|
};
|
|
1440
1384
|
|
|
1441
1385
|
// src/modules/dalbum_song.ts
|
|
1442
1386
|
var getDAlbumSong = async (dAlbumId) => {
|
|
1443
|
-
return await
|
|
1387
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0, `https://app.c.nf.migu.cn/MIGUM3.0/resource/dalbum/song/v2.0?dAlbumId=${dAlbumId}`);
|
|
1444
1388
|
};
|
|
1445
1389
|
|
|
1446
1390
|
// src/modules/dalbum_pay.ts
|
|
1447
1391
|
var getDAlbumPay = async (dAlbumId) => {
|
|
1448
|
-
return await
|
|
1392
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1449
1393
|
`https://app.c.nf.migu.cn/MIGUM3.0/strategy/album-sub-rank/v1.0?queryType=01&resourceId=${dAlbumId}`,
|
|
1450
1394
|
{ headers: { "channel": "0146891" } }
|
|
1451
1395
|
);
|
|
1452
1396
|
};
|
|
1453
1397
|
|
|
1398
|
+
// src/modules/page_scroll.ts
|
|
1399
|
+
var getPageScroll = async (dataId, page = 1, size = 20, styleCode) => {
|
|
1400
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1401
|
+
`https://app.c.nf.migu.cn/bmw/page-view-datasource/v1.0`,
|
|
1402
|
+
{
|
|
1403
|
+
params: {
|
|
1404
|
+
dataId,
|
|
1405
|
+
"pageNum": page,
|
|
1406
|
+
"pageSize": size,
|
|
1407
|
+
"styleCode": styleCode || void 0
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
);
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
// src/modules/page_dataSource.ts
|
|
1414
|
+
var getPageDataSource = async (body) => {
|
|
1415
|
+
return await _chunkZEGJU5LWcjs.h5fetch.call(void 0,
|
|
1416
|
+
`https://app.c.nf.migu.cn/bmw/page-datasource/v3.0`,
|
|
1417
|
+
{
|
|
1418
|
+
method: "POST",
|
|
1419
|
+
body: JSON.stringify(body),
|
|
1420
|
+
headers: { "Content-Type": "application/json", "recommendstatus": "1" }
|
|
1421
|
+
}
|
|
1422
|
+
);
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
// src/modules/user_like_list.ts
|
|
1426
|
+
var getUserLikeList = async (playlistId, page, size, pacmtoken = "", userId = "") => {
|
|
1427
|
+
const { data, cookies } = await _chunkZEGJU5LWcjs.ckfetch.call(void 0, "https://app.c.nf.migu.cn/resource/h5/my/playlist/song/v1.0", {
|
|
1428
|
+
cookie: { pacmtoken: pacmtoken || "" },
|
|
1429
|
+
headers: { uid: userId || "" },
|
|
1430
|
+
params: {
|
|
1431
|
+
pageNo: page,
|
|
1432
|
+
pageSize: size,
|
|
1433
|
+
playlistId
|
|
1434
|
+
}
|
|
1435
|
+
});
|
|
1436
|
+
return { data, newPacmToken: cookies.pacmtoken || "" };
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
|
|
1454
1440
|
|
|
1455
1441
|
|
|
1456
1442
|
|
|
@@ -1574,5 +1560,5 @@ var getDAlbumPay = async (dAlbumId) => {
|
|
|
1574
1560
|
|
|
1575
1561
|
|
|
1576
1562
|
|
|
1577
|
-
exports.addFollower = addFollower; exports.addSongToMyList = addSongToMyList; exports.addUserCollect = addUserCollect; exports.addUserMyList = addUserMyList; exports.checkCanListen = checkCanListen; exports.checkToken = checkToken; exports.deleteCloudMusic = deleteCloudMusic; exports.deleteComment = deleteComment; exports.dislikeSong = dislikeSong; exports.editUserMyList = editUserMyList; exports.emojiAction = emojiAction; exports.getAlbumInfo = getAlbumInfo; exports.getAlbumSong = getAlbumSong; exports.getCloudDLUrl = getCloudDLUrl; exports.getCloudUploadUrl = getCloudUploadUrl; exports.getCloudUrl = getCloudUrl; exports.getColumnInfo = getColumnInfo; exports.getComment = getComment; exports.getConcertComment = getConcertComment; exports.getConcertDetail = getConcertDetail; exports.getConcertInfo = getConcertInfo; exports.getConcertRecommendMv = getConcertRecommendMv; exports.getConcertUrl = getConcertUrl; exports.getDAlbumInfo = getDAlbumInfo; exports.getDAlbumPay = getDAlbumPay; exports.getDAlbumSong = getDAlbumSong; exports.getDLUrlV1 = getDLUrlV1; exports.getEmojiNum = getEmojiNum; exports.getFollowerList = getFollowerList; exports.getFollowingList = getFollowingList; exports.getFollowingVra = getFollowingVra; exports.getInteractionMsg = getInteractionMsg; exports.getListenFreelySongs = getListenFreelySongs; exports.getListenFreelyTab = getListenFreelyTab; exports.getListenRank = getListenRank; exports.getLyric = getLyric; exports.getMVRecommend = getMVRecommend; exports.getMvBySong = getMvBySong; exports.getMvHls = getMvHls; exports.getMvInfo = getMvInfo; exports.getNewCDList = getNewCDList; exports.getNewSongList = getNewSongList; exports.getNoticeMsg = getNoticeMsg; exports.getOpNum = getOpNum; exports.getPacmToken = getPacmToken; exports.getPageInfo = getPageInfo; exports.getPageTab = getPageTab; exports.getPlaylistInfo = getPlaylistInfo; exports.getPlaylistSong = getPlaylistSong; exports.getRadioRecommend = getRadioRecommend; exports.getRadioRecommendAll = getRadioRecommendAll; exports.getRadioSong = getRadioSong; exports.getRankIndex = getRankIndex; exports.getRankInfo = getRankInfo; exports.getRecommendPlaylist = getRecommendPlaylist; exports.
|
|
1563
|
+
exports.addFollower = addFollower; exports.addSongToMyList = addSongToMyList; exports.addUserCollect = addUserCollect; exports.addUserMyList = addUserMyList; exports.checkCanListen = checkCanListen; exports.checkToken = checkToken; exports.deleteCloudMusic = deleteCloudMusic; exports.deleteComment = deleteComment; exports.dislikeSong = dislikeSong; exports.editUserMyList = editUserMyList; exports.emojiAction = emojiAction; exports.getAlbumInfo = getAlbumInfo; exports.getAlbumSong = getAlbumSong; exports.getCloudDLUrl = getCloudDLUrl; exports.getCloudUploadUrl = getCloudUploadUrl; exports.getCloudUrl = getCloudUrl; exports.getColumnInfo = getColumnInfo; exports.getComment = getComment; exports.getConcertComment = getConcertComment; exports.getConcertDetail = getConcertDetail; exports.getConcertInfo = getConcertInfo; exports.getConcertRecommendMv = getConcertRecommendMv; exports.getConcertUrl = getConcertUrl; exports.getDAlbumInfo = getDAlbumInfo; exports.getDAlbumPay = getDAlbumPay; exports.getDAlbumSong = getDAlbumSong; exports.getDLUrlV1 = getDLUrlV1; exports.getEmojiNum = getEmojiNum; exports.getFollowerList = getFollowerList; exports.getFollowingList = getFollowingList; exports.getFollowingVra = getFollowingVra; exports.getInteractionMsg = getInteractionMsg; exports.getListenFreelySongs = getListenFreelySongs; exports.getListenFreelyTab = getListenFreelyTab; exports.getListenRank = getListenRank; exports.getLyric = getLyric; exports.getMVRecommend = getMVRecommend; exports.getMvBySong = getMvBySong; exports.getMvHls = getMvHls; exports.getMvInfo = getMvInfo; exports.getNewCDList = getNewCDList; exports.getNewSongList = getNewSongList; exports.getNoticeMsg = getNoticeMsg; exports.getOpNum = getOpNum; exports.getPacmToken = getPacmToken; exports.getPageDataSource = getPageDataSource; exports.getPageInfo = getPageInfo; exports.getPageScroll = getPageScroll; exports.getPageTab = getPageTab; exports.getPlaylistInfo = getPlaylistInfo; exports.getPlaylistSong = getPlaylistSong; exports.getRadioRecommend = getRadioRecommend; exports.getRadioRecommendAll = getRadioRecommendAll; exports.getRadioSong = getRadioSong; exports.getRankIndex = getRankIndex; exports.getRankInfo = getRankInfo; exports.getRecommendPlaylist = getRecommendPlaylist; exports.getResourceInfo = getResourceInfo; exports.getSVideoInfo = getSVideoInfo; exports.getSVideoRecommend = getSVideoRecommend; exports.getSVideoSearchSuggest = getSVideoSearchSuggest; exports.getSVideoUrl = getSVideoUrl; exports.getSVideoUserContent = getSVideoUserContent; exports.getSVideoUserInfo = getSVideoUserInfo; exports.getSceneRecommend = getSceneRecommend; exports.getSearchDefault = getSearchDefault; exports.getSearchHot = getSearchHot; exports.getSearchSingerTab = getSearchSingerTab; exports.getSearchSingerTabList = getSearchSingerTabList; exports.getSimilarSongRecommend = getSimilarSongRecommend; exports.getSingerAlbum = getSingerAlbum; exports.getSingerIndex = getSingerIndex; exports.getSingerLetter = getSingerLetter; exports.getSingerMv = getSingerMv; exports.getSingerSimilar = getSingerSimilar; exports.getSingerSong = getSingerSong; exports.getSongInfo = getSongInfo; exports.getSquareListByTag = getSquareListByTag; exports.getSquarePage = getSquarePage; exports.getSquareRecommend = getSquareRecommend; exports.getSquareTag = getSquareTag; exports.getThumbsMsg = getThumbsMsg; exports.getTicketInfo = getTicketInfo; exports.getTodayRecommend = getTodayRecommend; exports.getUrlH5V24 = getUrlH5V24; exports.getUrlV1 = getUrlV1; exports.getUrlV2 = getUrlV2; exports.getUserAudioBook = getUserAudioBook; exports.getUserBadge = getUserBadge; exports.getUserCollectList = getUserCollectList; exports.getUserHeader = getUserHeader; exports.getUserHeartthrob = getUserHeartthrob; exports.getUserHomePage = getUserHomePage; exports.getUserLikeList = getUserLikeList; exports.getUserMyList = getUserMyList; exports.getUserOrdered = getUserOrdered; exports.getUserPhoneInfo = getUserPhoneInfo; exports.getUserSongPage = getUserSongPage; exports.getVersion = getVersion; exports.getVipPlaylist = getVipPlaylist; exports.getVrbtOpNum = getVrbtOpNum; exports.getVrbtUrl = getVrbtUrl; exports.isFollowAuthor = isFollowAuthor; exports.likeSong = likeSong; exports.logout = logout; exports.matchPlaylist = matchPlaylist; exports.queryUserInfo = queryUserInfo; exports.removeFollower = removeFollower; exports.removeSongFromMyList = removeSongFromMyList; exports.removeUserCollect = removeUserCollect; exports.removeUserMyList = removeUserMyList; exports.searchAlbum = searchAlbum; exports.searchConcert = searchConcert; exports.searchLrc = searchLrc; exports.searchMv = searchMv; exports.searchPlaylist = searchPlaylist; exports.searchRbt = searchRbt; exports.searchSVideo = searchSVideo; exports.searchSinger = searchSinger; exports.searchSong = searchSong; exports.searchSuggest = searchSuggest; exports.searchTicket = searchTicket; exports.shareCommon = shareCommon; exports.shareVideo = shareVideo;
|
|
1578
1564
|
//# sourceMappingURL=index.cjs.map
|