Package: netease-cloud-music-dl-tddschn
netease-cloud-music-dl (ncm)Forked fromcodezjx/netease-cloud-music-dl.netease-cloud-music-dl (ncm)Difference from the original (Extra features)InstallationpipxpipDevelop网易云音乐下载器PreviewInstallationFeatureUsage下载单曲下载多首歌曲下载某歌手的热门单曲(默认下50首，可配置)下载某张专辑的所有歌曲下载某个公开的歌单SettingsFeedbackLicenseDifference from the original (Extra features)Uploaded to PyPI, can be installed directly viapipxorpip, without the need to clone firstThe-s,-ssoptions fall back to parsing songs with/song/<song_id>in the URL path, if theidquery param is not found.InstallationpipxThis is the recommended installation method.$ pipx install netease-cloud-music-dl-tddschnpip$ pip install netease-cloud-music-dl-tddschnDevelop$ git clone https://github.com/tddschn/netease-cloud-music-dl.git
$ cd netease-cloud-music-dl
$ poetry install网易云音乐下载器基于Python3.X编写的网易云音乐命令行下载器，自动下载专辑封面，记录歌手名、音乐标题、专辑名等元数据，并写入ID3 Tagsmetadata容器。在github上试了几个高星的下载器都没有写入专辑封面，对于强迫症患者简直不能忍，于是一怒之下决定自己写。PreviewInstallation若没有安装Python3，请先到官网下载并安装：https://www.python.org/download/releases/3.0/首先下载源码：$gitclonehttps://github.com/codezjx/netease-cloud-music-dl.git进入根目录，然后执行：$python3setup.pyinstall最终显示以下log，表示顺利安装：running install
running bdist_egg
running egg_info
...
...
Finished processing dependencies for netease-cloud-music-dl==x.x.x后续直接在命令行中通过ncm指令即可快速调用相关功能，Warning: 目前只支持Python3.x版本Feature支持下载专辑封面并嵌入MP3文件支持写入歌手名、音乐标题、专辑名等信息至ID3 Tags支持跳过已下载的音频文件支持常见设置选项，如：保存路径、音乐命名格式、文件智能分类等默认下载比特率为320k的高品质音乐（若木有320k则会自动下载最高比特率）支持下载单首/多首歌曲支持下载歌手热门单曲（可配置最大下载数）支持下载专辑所有歌曲支持下载公开歌单所有歌曲（注意：已下架的音乐暂时无法下载）通过ncm -h即可查看所支持的参数列表：$ ncm -h
usage: ncm [-h] [-s song_id] [-ss song_ids [song_ids ...]] [-hot artist_id]
           [-a album_id] [-p playlist_id]

optional arguments:
  -h, --help            show this help message and exit
  -s song_id            Download a song by song_id
  -ss song_ids [song_ids ...]
                        Download a song list, song_id split by space
  -hot artist_id        Download an artist hot 50 songs by artist_id
  -a album_id           Download an album all songs by album_id
  -p playlist_id        Download a playlist all songs by playlist_idUsage下载单曲使用参数-s，后加歌曲id或者歌曲完整url，如：$ncm-s123123or
$ncm-shttp://music.163.com/#/song?id=123123下载多首歌曲使用参数-ss，后加歌曲ids或者歌曲完整urls(id或url之间通过空格隔开)，如：$ncm-ss123123456456789789or
$ncm-ssurl1url2url3下载某歌手的热门单曲(默认下50首，可配置)使用参数-hot，后加歌手id或者完整url，如：$ncm-hot123123or
$ncm-hothttp://music.163.com/#/artist?id=123123下载某张专辑的所有歌曲使用参数-a，后加专辑id或者完整url，使用方法同上。下载某个公开的歌单使用参数-p，后加歌单id或者完整url，使用方法同上，必须确认是公开的歌单才能下载哦。Settings配置文件在在用户目录下自动生成，路径如下：/Users/yourUserName/.ncm/ncm.ini目前支持以下几项设置：[settings]

#--------------------------------------
# 热门音乐的最大下载数，默认50
# Range: 0 < hot_max <= 50
#--------------------------------------
download.hot_max = 50

#--------------------------------------
# 音乐文件的下载路径，默认在用户目录.ncm/download目录下
#--------------------------------------
download.dir = /Users/yourUserName/.ncm/download

#--------------------------------------
# 音乐命名格式，默认1
# 1: 歌曲名
# 2: 歌手 - 歌曲名
# 3: 歌曲名 - 歌手
#--------------------------------------
song.name_type = 1

#--------------------------------------
# 文件智能分类，默认1
# 1: 不分文件夹
# 2: 按歌手分文件夹
# 3: 按歌手/专辑分文件夹
#--------------------------------------
song.folder_type = 1Warning:智能分类设置目前只针对-s和-ss参数有效，-hot/-a/-p分别会存于后缀为：-hot50/-album/-playlist的文件夹中，方便管理本地音乐。Feedback如果遇到Bugs，欢迎提issue或者PR，谢谢各位支持~LicenseMIT LicenseCopyright (c) 2017 codezjxcode.zjx@gmail.comPermission 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.