mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-21 15:11:22 +08:00
@@ -7,7 +7,6 @@ module.exports = (query, request) => {
|
||||
offset: query.offset || 0,
|
||||
asc: toBoolean(query.asc)
|
||||
}
|
||||
console.log(toBoolean(query.asc))
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/weapi/dj/program/byradio`,
|
||||
|
||||
@@ -7,7 +7,6 @@ module.exports = (query, request) => {
|
||||
op: 'update',
|
||||
}
|
||||
|
||||
console.log(data)
|
||||
return request(
|
||||
'POST', `http://interface.music.163.com/api/playlist/manipulate/tracks`, data,
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
type: 1,
|
||||
type: query.type || 1,
|
||||
limit: 100,
|
||||
offset: 0,
|
||||
total: true
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
offset: query.offset || 0,
|
||||
total: 'true',
|
||||
limit: query.limit || 99,
|
||||
};
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/api/cloudvideo/category/list`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
// 视频链接
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
groupId: query.id,
|
||||
offset: query.offset || 0,
|
||||
needUrl: true,
|
||||
resolution: query.res || 1080
|
||||
need_preview_url: 'true',
|
||||
total: true
|
||||
}
|
||||
return request(
|
||||
'POST', `https://music.163.com/weapi/videotimeline/videogroup/get`, data, {
|
||||
'POST', `https://music.163.com/api/videotimeline/videogroup/otherclient/get`, data, {
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
groupId: 0,
|
||||
offset: query.offset || 0,
|
||||
need_preview_url: 'true',
|
||||
total: true
|
||||
}
|
||||
console.log({data})
|
||||
// /api/videotimeline/otherclient/get
|
||||
return request(
|
||||
'POST', `https://music.163.com/api/videotimeline/otherclient/get`, data, {
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy
|
||||
}
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
offset: query.offset || 0,
|
||||
filterLives: '[]',
|
||||
withProgramInfo: 'true',
|
||||
needUrl: '1',
|
||||
resolution: '480'
|
||||
};
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/api/videotimeline/get`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user