Closed stevennight closed 6 years ago
谢谢~ 网易云返回 Cheating 真的是被针对了…
假如方便的话,可以顺便在这几行下面加一下
User Agent 为 NeteaseMusic/4.3.5.1515659116(9999);Dalvik/2.1.0 (Linux; U; Android 8.1.0; OPPO R11)
,并多试几个 ID 么…cookie 什么的先不带看看,尽管觉得后面也可能被针对…
我印象之前将 ID 都转为 long 型来存储了…可能有遗漏吧…尴尬。
我已经邀请你作为 Collaborator ,假如方便的话可以接受,然后直接 push 代码到这个库,当然也可以继续 push 到 fork 的库,全部 commit 完成我再合并。
假如有时间方便且可以生成歌词的话,方便切换到 releases 档( -correction- 版本号调为 1.1.0.0
)然后将生成的程序原地压缩成 7z,传到 GitHub releases 页面下么…
我暂时先不 Merge,假如你没空也没事,你回复后我再 Merge. 感激不尽!🤓
Cookie可以设为 buildver=1515659116; osver=8.1.0; appver=4.3.5; versioncode=112; mobilename=OPPOR11; os=android; channel=google
试试么,我觉得这样子会真一点…
😀好的 我之后先看看
@ludoux 默默的问句,是怎么拿的请求参数呢?🤓抓包?
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.
我发现了一个严重的事情… 假如你可以帮忙修 Bug 打包新版本的话,版本号请填 1.0.12.0,这样旧版才能检查到有更新…
好像确实是, 去掉了.之后 确实1.0.xx会大于1.2.0.0😂。
当时没有考虑好…就应该老老实实地一个一个比每一块数字的大小的…而且我当时设计,是只有参数(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.
不知道是不是请求太频繁,被503 Service Temporarily Unavailable....了
原有设置会导致 sContent 是"{"code":-460,"msg":"Cheating"}"
注释掉设置referred和HttpRequestHeader.Cookie后 测试ID:34274786没有产生问题。 具体是否有其它问题有待测试。