Comments (28)
from qqmusicapi.
没呢 现在所有歌都是400。。是Cookie的问题嘛。。
会不会有可能是因为我部署在HK服务器上导致的问题啊
from qqmusicapi.
from qqmusicapi.
有没有办法设置header的X-Forwding-IP之类的,之前那个网易的部署在我HK的服务器上就会出现400问题来着 然后设置header就好了
from qqmusicapi.
from qqmusicapi.
是这样吗
obj.headers['X-Real-IP'] = '211.161.244.70';
from qqmusicapi.
from qqmusicapi.
from qqmusicapi.
额,记录的那里报错了,把 app.js 里 app.use((req, res, next) => dataHandle.record(req, res, next)); 先注销一下吧
from qqmusicapi.
啊 好像不能用pm2 restart
我重新部署了一下 还是
{"result":400,"errMsg":"获取播放链接出错"}😭
from qqmusicapi.
from qqmusicapi.
啊 我试了几次 直接pm2 restart就会出现上面的问题 可能是我部署的一些问题
我先尝试部署到国内的服务器试一下
from qqmusicapi.
/song/url?id=002Nn2nE0Hu7WM
啊 这 部署到国内阿里云{"result":400,"errMsg":"获取播放链接出错"}
难道是不设置Cookie就不行嘛
from qqmusicapi.
from qqmusicapi.
如果不调用setCookie接口有没有办法在服务器上手动设置Cookie呢
from qqmusicapi.
from qqmusicapi.
from qqmusicapi.
不好意思 我没听懂 是啥意思。。。
from qqmusicapi.
from qqmusicapi.
嗷 不好意思 我脑瘫了 我把所有东西都复制进去了😂
from qqmusicapi.
from qqmusicapi.
from qqmusicapi.
from qqmusicapi.
你把下面这段放到data / cookie.json里重新一下项目就可以了{{pgv_pvi“:” 5513181184“,” pgv_pvid“:” 6325548414“,” ts_uid“:” 7599985537“,” RK“:” tHhAIrFDe2 “,” ptcz“:” 80b9da0533e17adb73c12d7ba6106b08eacd578400a6811192397058a490dc8d“,” pgg_uid“:” 761056813“,” pgg_appid“:” 101503919“,” pgg_openid“:” 887669A779556F36F6FD8DB_D_D“ “ pgg_user_type”:“ 5”,“ o_cookie”:“ 956581739”,“ pac_uid”:“ 1_56581739”,“ ptui_loginuin”:“ 9147218”,“ ts_refer”:“ iyqq.com/n2/m/myservice/index.html","yq_index":"0","yqq_stat":"0","pgv_info":"ssid","pgv_si":"s7374598144 “,” qm_authimgs_id“:” 1“,” qm_verifyimagesession“:” h0132a88ca8b10f700acfa21fb40074a5ad2e377243c22a008eae1a1b15f521aaf4ae959b7df4b26548“,” logout_page“ :” dm_login,“ com /“,” qqmusic_key“:” Q_H_L_2O7Kcw50eemIjRtqEBWVr3aGgdF_PZUJgN0zo9a1bvdoq_5hmOsSDY7ry9mexdE“,” uin“:” 956581739“,” psrf_kenqrefre25BACF1650EE2592D06BCC19EEAD7AD6" , “psrf_qqopenid”: “239ACC14853AA1038A3A539429D0AC48”, “qm_keyst”: “Q_H_L_2O7Kcw50eemIjRtqEBWVr3aGgdF_PZUJgN0zo9a1bvdoq_5hmOsSDY7ry9mexdE”, “psrf_qqaccess_token”: “6B0C62126368CA1ACE16C932C679747D”, “psrf_qqunionid”: “B727DBE86225939A050C84A13D0A3A05”, “psrf_access_token_expiresAt”: “1595733878”, “psrf_musickey_createtime”: “1587957878” }“ psrf_qqunionid”:“ B727DBE86225939A050C84A13D0A3A05”,“ psrf_access_token_expiresAt”:“ 1595733878”,“ psrf_musickey_createtime”:“ 1587957878”}“ psrf_qqunionid”:“ B727DBE86225939A050C84A13D0A3A05”,“ psrf_access_token_expiresAt”:“ 1595733878”,“ psrf_musickey_createtime”:“ 1587957878”}
…
在 2020年4月27日,下午5:47,我永远喜欢亦柔 @.***> 写道: 不好意思 我没听懂 是啥意思。。。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#28 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGP4NHL27B7DCJ66YGXTROVIBVANCNFSM4MRFKDKA.
账号是绿钻嘛?
…
在2020年4月27日,下午6:01,我永远喜欢亦柔***@.>构成:< https://user-images.githubusercontent.com/34836531/80359838- 00aabd80-88b1-11ea-9c5c-5e82f916b6da.png >这个我也改成我自己的QQ了—您收到此邮件是因为您评论了。直接回复此电子邮件,在GitHub < #28(评论) >上查看,或退订< https://github.com/notifications/unsubscribe-auth/AGFNGPYLLYLTXA66YGS4K63ROVJWFANCNFSM4MRFKDKA >。
我无论如何都不能正确返回 COOKIE 用POST cookie
Cannot read property 'split' of undefined
报这个错,你上面的办法也试过,可能没有对 ,可以说下详细 手动服务器 添加COOKIE 吗from qqmusicapi.
账号是绿钻嘛?
…
在 2020年4月27日,下午6:01,我永远喜欢亦柔 @.***> 写道: https://user-images.githubusercontent.com/34836531/80359838-00aabd80-88b1-11ea-9c5c-5e82f916b6da.png 这个我也改成我自己的QQ了 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#28 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFNGPYLLYLTXA66YGS4K63ROVJWFANCNFSM4MRFKDKA.
不是绿钻的话所有歌曲都没有办法获取吗
from qqmusicapi.
from qqmusicapi.
确实是非绿钻能听的歌 但是获取链接的时候就是400错误。。。很奇怪
不知道是哪里出问题了
from qqmusicapi.
目前换了owner的cookie已经正常了。。。
谢谢
from qqmusicapi.
Related Issues (20)
- 这些是不是都不能用了 HOT 7
- search接口 系统异常:Request failed with status code 404 HOT 1
- 公用 cookie 的形式指的是/user/setCookie吗
- 评论接口返回400怎么回事,原本是没问题的 HOT 1
- 运行时报错The string to be decoded is not correctly encoded.
- 可以试试QQ音乐客户端扫码登录呢? HOT 3
- user/refresh接口有别的接口替代的吗
- ✅cookie长期有效方案,已解决 HOT 10
- 请求没有歌词的歌曲的歌词导致崩溃 HOT 3
- 黑白名单是什么啊,有什么学习资料推荐嘛
- 黑白名单是什么啊,有什么系统的学习资料吗
- 调用获取歌单详情去获取百万收藏官方歌单,无法获取数据
- 获取歌词时,没有获取到会崩溃
- [功能请求] 对ipv6的支持
- 怎样用后台程序设置cookie?只有在第一次服务端没cookie时可以生效。第二次再设置就不会生效了? HOT 1
- 无版权歌曲在 app 上可以正常播放,但是不支持分享,而 web 端打开显示无版权无法播放
- 数据统计模块报错
- 网址提示502
- 腾讯调整了接口吗,[获取专辑信息]和[歌手介绍]获取不到数据,上周还能正常调 HOT 8
- 发送评论和删除评论的接口无效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qqmusicapi.