NeteaseCloudMusicFlac is being sponsored by the following tool; please help to support us by taking a look and signing up to a free tria.
感谢为 NeteaseCloudMusicFlac 的开发付出过努力以及提出建议的每一个人!
现在无损资源基本都是专辑, 很难找到单曲来下载. 而且下载需要每个专辑搜索一遍, 需要用云盘复制粘贴密码再下载. 这对于听Hi-Fi的人们来说是非常不便利的事情, 找歌曲可以找一整天. 而现在网易云音乐是绝大多数人听在线歌曲的平台, 歌单众多. 于是我想做如此一个项目, 根据网易云音乐上面的歌单, 自动下载FLAC无损音乐到本地.
海外由于版权问题无法下载歌曲, 所以会导致此issue, 无法正常使用, 需要修改DNS配置, 里面有解决方法.
根据此网站教程安装Python 注意安装的版本是 python3
强制使用 python3, 从我做起
可以使用此链接 https://codeload.github.com/YongHaoWu/NeteaseCloudMusicFlac/zip/master
到网易云音乐网页版找出想要下载无损的歌单, 如下图
后进入歌单, 地址栏地址便是歌单地址.
$ python main.py 歌单地址(如上图便是: http://music.163.com/#/playlist?id=145258012)
$ python3 main.py 'http://music.163.com/#/playlist?id=145258012'
$ python3 main.py 'http://music.163.com/#/playlist?id=145258012' --mp3
下载对应的模块(module), 网上搜索如何安装python模块.
pip3 install requests
如运行中遇到错误, 可以运行 pip3 install --upgrade requests
(其中一已知错误是request 旧版本在多线程下载时出现错误)
- 目前只是匹配歌曲名字, 最好加上匹配歌手名
- 歌曲匹配率不高, 可以考虑再到其他网站抓
Enjoy it !
如果涉及版权问题,项目将立刻关闭。 自己为百度音乐会员, 该项目为方便自己而做
CopyRight (c) 2016 YongHaoHu <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.