mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
增加videogroup的获取
This commit is contained in:
parent
41b3f7e893
commit
c453c1dc95
18
module/video_group.js
Normal file
18
module/video_group.js
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
// 视频链接
|
||||||
|
|
||||||
|
module.exports = (query, request) => {
|
||||||
|
const data = {
|
||||||
|
groupId: query.id,
|
||||||
|
name: query.name,
|
||||||
|
offset: 0,
|
||||||
|
needUrl: true,
|
||||||
|
resolution: query.res || 1080
|
||||||
|
}
|
||||||
|
return request(
|
||||||
|
'POST', `https://music.163.com/weapi/videotimeline/videogroup/get`, data, {
|
||||||
|
crypto: 'weapi',
|
||||||
|
cookie: query.cookie,
|
||||||
|
proxy: query.proxy
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user