Giter Club home page Giter Club logo

Comments (28)

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

没呢 现在所有歌都是400。。是Cookie的问题嘛。。

会不会有可能是因为我部署在HK服务器上导致的问题啊

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

有没有办法设置header的X-Forwding-IP之类的,之前那个网易的部署在我HK的服务器上就会出现400问题来着 然后设置header就好了

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

是这样吗
obj.headers['X-Real-IP'] = '211.161.244.70';

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

image
设置了一个Header为啥成这样了

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

额,记录的那里报错了,把 app.js 里 app.use((req, res, next) => dataHandle.record(req, res, next)); 先注销一下吧

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

啊 好像不能用pm2 restart
我重新部署了一下 还是
{"result":400,"errMsg":"获取播放链接出错"}😭

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

啊 我试了几次 直接pm2 restart就会出现上面的问题 可能是我部署的一些问题

我先尝试部署到国内的服务器试一下

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

/song/url?id=002Nn2nE0Hu7WM
啊 这 部署到国内阿里云{"result":400,"errMsg":"获取播放链接出错"}

难道是不设置Cookie就不行嘛

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

如果不调用setCookie接口有没有办法在服务器上手动设置Cookie呢

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

不好意思 我没听懂 是啥意思。。。

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

嗷 不好意思 我脑瘫了 我把所有东西都复制进去了😂

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

image
现在返回这个了 但是我请求数据还是400。。。。

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

image
这个我也改成我自己的QQ了

from qqmusicapi.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

yin50 avatar yin50 commented on July 29, 2024

你把下面这段放到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.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

账号是绿钻嘛?

在 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.

jsososo avatar jsososo commented on July 29, 2024

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

确实是非绿钻能听的歌 但是获取链接的时候就是400错误。。。很奇怪
不知道是哪里出问题了

from qqmusicapi.

NeptuneIsTheBest avatar NeptuneIsTheBest commented on July 29, 2024

目前换了owner的cookie已经正常了。。。

谢谢

from qqmusicapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.