YesPlayMusic/netease_api/module/video_timeline_recommend.js

18 lines
385 B
JavaScript
Raw Normal View History

2021-03-06 22:04:18 +08:00
// 推荐视频
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,
realIP: query.realIP,
})
}