{"action":"created","issue":{"url":"https://api.github.com/repos/darknessomi/musicbox/issues/168","labels_url":"https://api.github.com/repos/darknessomi/musicbox/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/darknessomi/musicbox/issues/168/comments","events_url":"https://api.github.com/repos/darknessomi/musicbox/issues/168/events","html_url":"https://github.com/darknessomi/musicbox/issues/168","id":115152876,"number":168,"title":"[Discussion] 关于params参数","user":{"login":"sk1418","id":367609,"avatar_url":"https://avatars.githubusercontent.com/u/367609?v=3","gravatar_id":"","url":"https://api.github.com/users/sk1418","html_url":"https://github.com/sk1418","followers_url":"https://api.github.com/users/sk1418/followers","following_url":"https://api.github.com/users/sk1418/following{/other_user}","gists_url":"https://api.github.com/users/sk1418/gists{/gist_id}","starred_url":"https://api.github.com/users/sk1418/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk1418/subscriptions","organizations_url":"https://api.github.com/users/sk1418/orgs","repos_url":"https://api.github.com/users/sk1418/repos","events_url":"https://api.github.com/users/sk1418/events{/privacy}","received_events_url":"https://api.github.com/users/sk1418/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T21:32:29Z","updated_at":"2015-11-05T04:09:25Z","closed_at":null,"body":"你好, 通过google发现的你的项目. 很精致全面. 对于网易音乐应该了解比较深入.有个问题想请教一下\r\n\r\n我写了一个多线程抓歌的脚本: https://github.com/sk1418/zhuaxia 然而命运多舛...因为人在国外先是xiami屏蔽海外ip, 现在网易也如此了.... :(\r\n\r\n目前通过requests挂中国代理服务器可以实现下载. 但我公司已经有一个公司代理,再挂中国代理行不通了. 本以为只有在家用它了, 可我发现我的android应用以海外IP是可以下载的, 于是抓包发现了一个post请求:\r\n\r\n\tPOST /eapi/song/enhance/download/url?br=128000&id=35403523_0 HTTP/1.1\r\n\tUser-Agent: android\r\n\tAccept-Encoding: gzip\r\n\tContent-Length: 1063\r\n\tContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n\tHost: music.163.com\r\n\r\n这个返回的json包含MP3的真地址, 虽然和老api返回的地址不同了. 我测试不挂代理用wget下载没问题.\r\n\r\nQuerystring 很直观, 看来就是码率和id, 虽然不知道id后面的`_0`起什么作用.\r\n\r\n但是让人挠头的是那个加密了的`params` 参数. 我通过google找到你的 \r\n\r\nhttps://github.com/darknessomi/musicbox/wiki/%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90%E6%96%B0%E7%99%BB%E5%BD%95API%E5%88%86%E6%9E%90\r\n\r\n大概明白了这个复杂的加密过程. \r\n\r\n现在问题是, 我想解密这个串, 看post过去带了什么参数, 才好封装好payload,实现加密...  你知道这个post的参数信息吗? 或者怎么解密? 这个可能难点儿, 毕竟没有它的私钥...\r\n\r\n谢谢.\r\n"},"comment":{"url":"https://api.github.com/repos/darknessomi/musicbox/issues/comments/153950280","html_url":"https://github.com/darknessomi/musicbox/issues/168#issuecomment-153950280","issue_url":"https://api.github.com/repos/darknessomi/musicbox/issues/168","id":153950280,"user":{"login":"Catofes","id":3324513,"avatar_url":"https://avatars.githubusercontent.com/u/3324513?v=3","gravatar_id":"","url":"https://api.github.com/users/Catofes","html_url":"https://github.com/Catofes","followers_url":"https://api.github.com/users/Catofes/followers","following_url":"https://api.github.com/users/Catofes/following{/other_user}","gists_url":"https://api.github.com/users/Catofes/gists{/gist_id}","starred_url":"https://api.github.com/users/Catofes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Catofes/subscriptions","organizations_url":"https://api.github.com/users/Catofes/orgs","repos_url":"https://api.github.com/users/Catofes/repos","events_url":"https://api.github.com/users/Catofes/events{/privacy}","received_events_url":"https://api.github.com/users/Catofes/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T04:09:25Z","updated_at":"2015-11-05T04:09:25Z","body":"目测， 你找一个中国的缓存dns后，网易就可以用了。"}}