感谢为 NeteaseCloudMusicFlac 的开发付出过努力以及提出建议的每一个人!
根据网易云音乐歌单, 下载对应无损FLAC歌曲到本地.
现在无损资源基本都是专辑, 很难找到单曲来下载. 而且下载需要每个专辑搜索一遍, 需要用云盘复制粘贴密码再下载. 这对于听Hi-Fi的人们来说是非常不便利的事情, 找歌曲可以找一整天. 而现在网易云音乐是绝大多数人听在线歌曲的平台, 歌单众多. 于是我想做如此一个项目, 根据网易云音乐上面的歌单, 自动下载FLAC无损音乐到本地.
海外由于版权问题无法下载歌曲, 所以会导致此issue, 无法正常使用. 需要返回**才能使用此项目.
python2下载使用此网站上的main.py
python3下载使用此网站上的python3_main.py
到网易云音乐网页版找出想要下载无损的歌单, 如下图
后进入歌单, 地址栏地址便是歌单地址.
$ python main.py 歌单地址(如上图便是: http://music.163.com/#/playlist?id=145258012)
$ python main.py http://music.163.com/#/playlist?id=145258012
$ python3 python3_main.py http://music.163.com/#/playlist?id=145258012
下载对应的模块(module), 网上搜索如何安装python模块.
pip install requests
pip3 install requests
- 使用PEP8 Python 编码规范整理代码
- 目前只是匹配歌曲名字, 最好加上匹配歌手名
- 歌曲匹配率不高, 可以考虑再到其他网站抓
- 自动删除小于10M的歌曲
Enjoy it !
如果涉及版权问题,项目将立刻关闭。 自己为百度音乐会员, 该项目为方便自己而做
CopyRight (c) 2016 YongHaoHu <christopherwuy@gmail.com>
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.