ludoux / LrcHelper

从网易云音乐下载带翻译的歌词 Walkman 适配
MIT License
204 stars 13 forks source link

Fixed Bugs for Get Content from netease music api. #6

Closed stevennight closed 6 years ago

stevennight commented 6 years ago

原有设置会导致 sContent 是"{"code":-460,"msg":"Cheating"}"

注释掉设置referred和HttpRequestHeader.Cookie后 测试ID:34274786没有产生问题。 具体是否有其它问题有待测试。

ludoux commented 6 years ago

谢谢~ 网易云返回 Cheating 真的是被针对了…

我暂时先不 Merge,假如你没空也没事,你回复后我再 Merge. 感激不尽!🤓

ludoux commented 6 years ago

Cookie可以设为 buildver=1515659116; osver=8.1.0; appver=4.3.5; versioncode=112; mobilename=OPPOR11; os=android; channel=google 试试么,我觉得这样子会真一点…

stevennight commented 6 years ago

😀好的 我之后先看看

stevennight commented 6 years ago

@ludoux 默默的问句,是怎么拿的请求参数呢?🤓抓包?

ludoux commented 6 years ago

API 地址是 README 里面提到的 moonlib.com 的一篇文章,cookie 什么的是自己抓包得到的。


From: StevenNight notifications@github.com Sent: Sunday, May 13, 2018 2:28:23 PM To: ludoux/LrcHelper Cc: Lu Chang; Mention Subject: Re: [ludoux/LrcHelper] Fixed Bugs for Get Content from netease music api. (#6)

@ludouxhttps://github.com/ludoux 默默的问句,是怎么拿的请求参数呢?🤓抓包?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ludoux/LrcHelper/pull/6#issuecomment-388604756, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM1lTCPNVWNAivk8oWxNdErP7Gd0Ufylks5tx9KHgaJpZM4T8dvL.

ludoux commented 6 years ago

我发现了一个严重的事情… 假如你可以帮忙修 Bug 打包新版本的话,版本号请填 1.0.12.0,这样旧版才能检查到有更新…

stevennight commented 6 years ago

好像确实是, 去掉了.之后 确实1.0.xx会大于1.2.0.0😂。

ludoux commented 6 years ago

当时没有考虑好…就应该老老实实地一个一个比每一块数字的大小的…而且我当时设计,是只有参数(UnsupportedVer)来指示某个版本强制不升级,没有参数指定某个版本强制升级…🤣


From: StevenNight notifications@github.com Sent: Sunday, May 13, 2018 6:18:27 PM To: ludoux/LrcHelper Cc: Lu Chang; Mention Subject: Re: [ludoux/LrcHelper] Fixed Bugs for Get Content from netease music api. (#6)

好像确实是, 去掉了.之后 确实1.0.xx会大于1.2.0.0😂。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ludoux/LrcHelper/pull/6#issuecomment-388616062, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM1lTMfVHcqH0WGOubjEJL7W6SK9vRK7ks5tyAhzgaJpZM4T8dvL.

stevennight commented 6 years ago

不知道是不是请求太频繁,被503 Service Temporarily Unavailable....了