Repo: https://github.com/lonnng/yinyue
网易云音乐批量下载,支持下载 mp3 和 mv,支持歌单,专辑,歌手热门,电台,单曲,排行榜.
- http://music.163.com/playlist?id=892177597
- http://music.163.com/#/album?id=38595209"
- http://music.163.com/#/song?id=557584888
- http://music.163.com/#/artist?id=10559"
- http://music.163.com/#/discover/toplist?id=3779629
- http://music.163.com/#/djradio?id=527162580
cargo build --release
Usage: target/release/yinyue [options] url
Options:
-t, --type mp3 or mv
-f, --format filename format($name, $artist, $album)
-q, --quality quality(480/720/1080 for mv, 12800/19200/32000 for
music)
-d, --dir save to target directory
-t, --type
需要下载的类型,可选 mp3 或者 mv
-f, --format
保存文件的格式,$name: 歌名, $artist: 歌手名, $album: 专辑名),默认为$artist - $name
-q, --quality
下载多媒体质量,音频可选: 12800/19200/32000(单位比特率), 视频可选 480/720/1080(P)
-d, --dir
文件保存路径,如果路径不存在,会自动创建,默认为 music
yinyue -t mv http://music.163.com/playlist?id=892177597
1
jasonsui 2018 年 5 月 31 日 via Android
使用略复杂,先帮顶
|
2
em70 2018 年 6 月 1 日 via Android 十年前就做过百度 mp3 top500 批量下载,现在下载需求越来越小,官方客户端下载支持也挺好,自娱自乐吧
|
3
muziki 2018 年 6 月 1 日 via iPhone
crypto 最后那几个 is_none 用 unwrap_or 写下
其他有些地方在函数内部“暴力” unwrap 换“?” 不是很建议那么 unwrap |
8
FindHao 2018 年 6 月 1 日 via Android
youget 应该也行吧?
|
9
est 2018 年 6 月 1 日
其实应该做个聚合播放的。这样无论版权被谁买都能通听了。
|
13
gonghao 2018 年 6 月 1 日
歪个楼,楼主 Github 头像很瞩目~
|
15
misaka19000 2018 年 6 月 1 日
Rust 学起来是不是很难呀。。。
|
16
LeungJZ 2018 年 6 月 1 日
非会员也能下载?
|
18
chrislon OP @misaka19000 不会,会 C++的,比较简单,有其他静态语言经验的也不会太难
|
19
qdwang 2018 年 6 月 1 日
挺好啊,建议 lz 在 release 里发布个二进制版本,方便没有 rust 的人
|
21
YongXMan 2018 年 9 月 24 日
是不是不能用了?
|