云音乐下载的ID3信息比较完整,业界良心。方便自己导入iPod https://github.com/magicdawn/yun-playlist-downloader
安装
via 万能的npm, iojs required
$ npm i yun-playlist-downloader -g
使用
$ yun
网易云音乐 歌单 下载器
使用:
yun [选项] <歌单地址>
示例:
# 20首同时下载
yun -c 20 http://music.163.com/#/playlist?id=12583200
选项:
-h,--help 查看帮助
-c,--concurrency 设置同时下载数量
截图
不是吧,跟在网页上听的是一个文件。 在网页上是
- 播放
- 拿到歌曲id
- ajax http://music.163.com/api/song/detail/?ids=[id1,id2,…idn]
- 返回数据里面有歌曲链接,肯定不是无损的吧
安装的node版本需要1.00以上? npm WARN engine [email protected]: wanted: {“node”:">1.0.0"} (current: {“node”:“0.12.4”,“npm”:“2.10.1”})
最关键的是我要用 generator co 呀
shebang 写 #!/usr/bin/env node --harmony
略诡异,还不能用
https://github.com/olov/node-harmony-wrapper
For a program that needs --harmony, such as hello-es6.js, things get complicated. In the best of worlds you would have been able to just change the shebang into #!/usr/bin/env node --harmony and things would have worked. And it does, on Mac. But it does not on Linux. Because POSIX never specified shebang arguments. Oh Candide! :(