Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地部署出现播放地址无法获取 #39

Closed
xiaou520 opened this issue May 13, 2020 · 4 comments
Closed

本地部署出现播放地址无法获取 #39

xiaou520 opened this issue May 13, 2020 · 4 comments

Comments

@xiaou520
Copy link

大佬您好
我在部署您的QQ音乐的API node
在获取播放地址的时候出现
GET /song/urls?id=0039MnYb0qxYhV,004Z8Ihr0JIu5s - - ms - - (node:19428) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined at reqFun (C:\Users\xiaou\Desktop\QQMusicApi-master\routes\song.js:146:22) at process._tickCallback (internal/process/next_tick.js:68:7) (node:19428) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) GET /song/urls?id=0039MnYb0qxYhV,004Z8Ihr0JIu5s - - ms - -
如果您有空希望告知一下是什么问题

@jsososo
Copy link
Owner

jsososo commented May 13, 2020 via email

@xiaou520
Copy link
Author

已经解决,加了异常处理,是cookie的问题Thanks♪(・ω・)ノ

@haanico
Copy link

haanico commented Aug 28, 2020

有设置过cookie 嘛,要绿钻的 cookie

在 2020年5月13日,上午11:53,xiaou520 @.***> 写道: 大佬您好 我在部署您的QQ音乐的API node 在获取播放地址的时候出现 GET /song/urls?id=0039MnYb0qxYhV,004Z8Ihr0JIu5s - - ms - - (node:19428) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined at reqFun (C:\Users\xiaou\Desktop\QQMusicApi-master\routes\song.js:146:22) at process._tickCallback (internal/process/next_tick.js:68:7) (node:19428) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) GET /song/urls?id=0039MnYb0qxYhV,004Z8Ihr0JIu5s - - ms - - 如果您有空希望告知一下是什么问题 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#39>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP35UYJH6J2QXQ2RLHLRRIKR5ANCNFSM4M7ME5LA.

只能绿钻会员是吗,普通的不能用是吧

@jsososo
Copy link
Owner

jsososo commented Aug 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants