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.

52 lines
1.2 KiB

6 years ago
# Netease Cloud Music Copyright Protection File Dump
![shield](https://img.shields.io/badge/python-2.7%7C3.4+-blue.svg)
6 years ago
6 years ago
## About
6 years ago
6 years ago
感谢大佬的 [anonymous5l/ncmdump](https://github.com/anonymous5l/ncmdump) 项目,因好奇加密算法就用 python 移植了下。仅供学习交流,**请勿传播扩散**。
6 years ago
## Fork
- [JamieDummy/NCM_dump](https://github.com/JamieDummy/NCM_dump): 增加 GUI
- [mnilzg/ncmdump](https://github.com/mnilzg/ncmdump): 使用 numpy 大幅提高性能
6 years ago
## Dependency
6 years ago
```
$ pip install pycryptodome mutagen
6 years ago
```
6 years ago
## Usage
6 years ago
6 years ago
### Specify files
6 years ago
6 years ago
```
6 years ago
$ python ncmdump.py [file ...]
```
6 years ago
### Traverse working directory
6 years ago
```
$ python ncmdump.py
```
6 years ago
### More options
```
$ 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
```
6 years ago
> supported name holder: %artist%, %title%, %album%