YesPlayMusic/netease_api/module/video_group.js

22 lines
438 B
JavaScript
Raw Normal View History

2020-10-27 23:08:38 +08:00
// 视频标签/分类下的视频
module.exports = (query, request) => {
const data = {
groupId: query.id,
offset: query.offset || 0,
need_preview_url: 'true',
total: true,
};
return request(
'POST',
`https://music.163.com/api/videotimeline/videogroup/otherclient/get`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
);
};