mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-27 17:22:10 +08:00

* issues #1019 的迫真修复 * 修复 issues #1019 * 修复 issues #1019 * 改回 pickedLyric() 逻辑 * 更进一步的避免取词卡死问题 * 更新网易云 api 到 4.2.0 * Update README.md * Revert "Update README.md" This reverts commit b862ef7d4dabd40c8fe57e4837fc6220806a1456.
17 lines
432 B
JavaScript
17 lines
432 B
JavaScript
// 创建歌单
|
|
|
|
module.exports = (query, request) => {
|
|
query.cookie.os = 'pc'
|
|
const data = {
|
|
name: query.name,
|
|
privacy: query.privacy, //0 为普通歌单,10 为隐私歌单
|
|
type: query.type || 'NORMAL', // NORMAL|VIDEO|SHARED
|
|
}
|
|
return request('POST', `https://music.163.com/api/playlist/create`, data, {
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
})
|
|
}
|