python版本网易云音乐ncm文件格式转换(mirror from https://github.com/nondanee/ncmdump)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nzix cf83824e81 fix rename bug 6 years ago
.gitignore Initial commit 6 years ago
LICENSE Initial commit 6 years ago
README.md more options in app #3 6 years ago
app.py fix rename bug 6 years ago
ncmdump.py modify comments 6 years ago
requirements.txt change naming logic, simply pair for input and output 6 years ago

README.md

Netease Cloud Music Copyright Protection File Dump (Python version)

简介

感谢大佬的 anonymous5l/ncmdump 项目,因好奇加密算法就用Python移植了下。自测发现转换出来的媒体文件都已包含媒体信息(包括专辑封面),故未再实现原repo中的写tag操作,应issue要求还是补上了写tag操作。Python实现比C++慢不少,实用性不大,仅供学习交流,请勿传播扩散。

依赖

$ pip install pycryptodome mutagen

使用

  • 指定文件
$ python ncmdump.py [files ...]
  • 遍历工作目录
$ python ncmdump.py
  • 更多选项
$ python app.py -h
usage: ncmdump [-h] [-f format] [-o output] [-d] [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

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