python版本网易云音乐ncm文件格式转换
Switch branches/tags
Nothing to show
Clone or download
Latest commit 244c73e Dec 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Jul 15, 2018
LICENSE Initial commit Jul 15, 2018
README.md add skip & overwrite Dec 12, 2018
app.py add skip & overwrite Dec 12, 2018
ncmdump.py add skip & overwrite Dec 12, 2018
requirements.txt change naming logic, simply pair for input and output Sep 27, 2018

README.md

Netease Cloud Music Copyright Protection File Dump

shield

简介

感谢大佬的 anonymous5l/ncmdump 项目,因好奇加密算法就用 python 移植了下。自测发现转换出来的媒体文件都已包含媒体信息(包括专辑封面),故未再实现原 repo 中的写 tag 操作,应 issue #1 要求补上了写 tag 操作。相比 C++ 实现,此版 python 实现慢不少 (瓶颈在异或操作),实用性不大,善用左上角搜索寻求其它版本。仅供学习交流,请勿传播扩散

Fork

依赖

$ pip install pycryptodome mutagen

使用

指定文件

$ python ncmdump.py [files ...]

遍历工作目录

$ python ncmdump.py

更多选项

$ python app.py -h
usage: ncmdump [-h] [-f format] [-o output] [-d] [-c | -s] [input [input ...]]

positional arguments:
  input       ncm file or folder path

optional arguments:
  -h, --help  show this help message and exit
  -f format   customize naming format
  -o output   customize saving folder
  -d          delete source after conversion
  -c          overwrite file with the same name
  -s          skip conversion if file exist

自定义命名参数: %artist%, %title%, %album%