mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
Merge branch 'main' into 'main'
Main See merge request Binaryify/neteasecloudmusicapi!36
This commit is contained in:
commit
07088156b6
@ -3,7 +3,7 @@ const QRCode = require('qrcode')
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
return new Promise(async (resolve) => {
|
||||
const url = `https://music.163.com/login?codekey=${query.key}`
|
||||
const url = `http://music.163.com/login?codekey=${query.key}`
|
||||
return resolve({
|
||||
code: 200,
|
||||
status: 200,
|
||||
|
@ -9,7 +9,7 @@ module.exports = (query, request) => {
|
||||
s: query.s || 8,
|
||||
}
|
||||
//不放在data里面避免请求带上无用的数据
|
||||
let limit = parseInt(query.limit) || Infinity
|
||||
let limit = parseInt(query.limit) || 1000
|
||||
let offset = parseInt(query.offset) || 0
|
||||
|
||||
return request(`/api/v6/playlist/detail`, data, createOption(query)).then(
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
// 歌曲数量不要超过1000
|
||||
query.ids = query.ids.split(/\s*,\s*/)
|
||||
const data = {
|
||||
c: '[' + query.ids.map((id) => '{"id":' + id + '}').join(',') + ']',
|
||||
|
@ -4579,7 +4579,7 @@ qrCodeStatus:20,detailReason:0 验证成功qrCodeStatus:21,detailReason:0 二
|
||||
**调用例子:** `/ugc/user/devote`
|
||||
|
||||
### 年度听歌报告
|
||||
说明: 登录后调用此接口,使用此接口,可获取当前登录用户年度听歌报告,目前支持2017-2023年的报告
|
||||
说明: 登录后调用此接口,使用此接口,可获取当前登录用户年度听歌报告,目前支持2017-2024年的报告
|
||||
|
||||
**必选参数:**
|
||||
|
||||
@ -4587,7 +4587,7 @@ qrCodeStatus:20,detailReason:0 验证成功qrCodeStatus:21,detailReason:0 二
|
||||
|
||||
**接口地址:** `/summary/annual`
|
||||
|
||||
**调用例子:** `/summary/annual?year=2023`
|
||||
**调用例子:** `/summary/annual?year=2024`
|
||||
|
||||
### 本地歌曲文件匹配网易云歌曲信息
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user