magicdawn / Yun Playlist Downloader
网易云音乐 - 歌单/专辑/电台 - 下载器
Stars: ✭ 256
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Yun Playlist Downloader
Lyricify-App
A fantastic app to provide auto-scrolling lyrics for Spotify, iTunes, Music Center, QQ Music, Netease Cloud Music, and YesPlayMusic. 一款为Spotify、iTunes、Music Center、QQ音乐、网易云音乐、YesPlayMusic提供滚动歌词的软件。
Stars: ✭ 486 (+89.84%)
Mutual labels: netease-cloud-music
PixelMusic
Unofficial NetEase Cloud music player
Stars: ✭ 72 (-71.87%)
Mutual labels: netease-cloud-music
netease-music
NetEase Music Library for Emacs.
Stars: ✭ 52 (-79.69%)
Mutual labels: netease-cloud-music
NeteaseMusic-Client
Based on vue-netease-music, Powered by Electron™
Stars: ✭ 17 (-93.36%)
Mutual labels: netease-cloud-music
azusa
🎆 Fill you music player in a kawaii way
Stars: ✭ 30 (-88.28%)
Mutual labels: netease-cloud-music
cover4mp3
[Deprecated] Fetching album covers for your songs.
Stars: ✭ 12 (-95.31%)
Mutual labels: netease-cloud-music
HibiAPI
一个实现了多种常用站点的易用化API的程序 / A program that implements easy-to-use APIs for a variety of commonly used sites.
Stars: ✭ 427 (+66.8%)
Mutual labels: netease-cloud-music
vue-netease-music
🎵 基于 Vue2、Vue-CLI3 的高仿网易云 mac 客户端播放器(PC) Online Music Player
Stars: ✭ 118 (-53.91%)
Mutual labels: netease-cloud-music
NetEase-Cloud-Music-DiscordRPC
在Discord上显示网抑云/QQ音乐. Enables Discord Rich Presence For Netease Cloud Music/Tencent QQ Music.
Stars: ✭ 49 (-80.86%)
Mutual labels: netease-cloud-music
yun-playlist-downloader
网易云音乐 - 歌单 - 下载器
特性
- [x] 音质选择
- [x] 下载超时 / 重试
- [x] 再次下载默认跳过已下载部分, 使用
content-length
匹配 - [x] 自定义文件名
- [x] 下载进度显示
安装
$ npm i yun-playlist-downloader -g
使用
Usage: yun <url> [options]
位置:
url 歌单/专辑的链接 [字符串]
选项:
--retry-timeout 下载超时(分) [数字] [默认值: 3]
--retry-times 下载重试次数 [数字] [默认值: 3]
-h, --help 显示帮助信息 [布尔]
-v, --version 显示版本号 [布尔]
-c, --concurrency 同时下载数量 [数字] [默认值: 5]
-f, --format 文件格式[字符串] [默认值: ":name/:singer - :songName.:ext"]
-q, --quality 音质 [数字] [默认值: 320]
-s, --skip 对于已存在文件且大小合适则跳过 [布尔] [默认值: true]
-p, --progress 是否显示进度条 [布尔] [默认值: true]
示例:
yun -c 10 <url> 10首同时下载
yun -f ":singer - :songName.:ext" <url> 下载格式为 "歌手 - 歌名"
帮助 & 文档: https://github.com/magicdawn/yun-playlist-downloader
--retry-timeout
重试超时
设置下载超时, 单位为分, 默认 3 分钟
--retry-times
重试次数
设置下载重试次数, 需要与 --retry-timeout
搭配使用,默认 3 次
-c, --concurrency
下载并发
下载并发
-f, --format
自定义文件名
token | 含义 | 备注 |
---|---|---|
:type |
= album or playlist
|
|
:typeText |
= 专辑 or 列表
|
|
:name |
专辑名称 or 播放列表名称 | |
:singer |
歌手名 | |
:songName |
歌曲名(不含扩展名) | |
:ext |
文件后缀,如 mp3 不带 .
|
|
:index |
01 , 02 ... 12
|
|
:rawIndex |
0 1 ... 11
|
|
:programDate |
电台节目发布日期 | 仅电台可用 |
:programOrder |
数字, 电台第几期 | 仅电台可用 |
默认值 = :name/:singer - :songName.:ext
电台默认 = :name/:programDate 第:programOrder 期 - :songName.:ext
-q, --quality
自定义下载音质
取值 | 含义 | 备注 |
---|---|---|
128 | 128kbits/s | |
192 | 192kbits/s | |
320 | 320kbits/s | 默认 |
-s, --skip
是否跳过下载
- 对于文件已存在, 而且文件大小与要下载的网络文件的
content-length
大小一致, 则跳过下载 - 默认启用
- 使用
--skip false
关闭该特性
-p, --progress
是否显示进度条
- 默认
true
, 显示进度条, 使用false
不显示进度条 - 使用了模块 ascii-progress, 问题比较多, 比如非 tty, 在控制台输入一些东西进度显示就乱了, 故提供选项关闭该特性
.yunrc
该工具使用了 rc
模块, 会去遍历读取 .yunrc
配置文件
具体规则见 rc
模块 README https://github.com/dominictarr/rc#standards
截图
已知问题
- [x] 并发过大会导致某些一开始任务即便机器处于空闲状态也会 block 住, 请根据自己网速酌情设置
concurrency
参数 - [x] 使用了类似 Phantom.js 的 Nightmare 来计算下载参数, 安装的时候要装一遍 Electron, 程序体积比较大. 见谅.
更新记录
License
the MIT License http://magicdawn.mit-license.org
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].