1 Star 0 Fork 2

Afra55 / Ncm2Mp3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Netease Cloud Music Copyright Protection File Dump

shield

Credit

Origin

Fork

Contributor

Dependency

$ pip install pycryptodome mutagen

Install

$ pip install git+https://github.com/nondanee/ncmdump.git

Usage

Execute

$ ncmdump -h # equivalent to "python ncmdump/app.py -h" and "python -m ncmdump.app"
usage: ncmdump [-h] [-f format] [-o output] [-d] [-c | -r] [input [input ...]]

positional arguments:
  input      ncm file or folder path

optional arguments:
  -h         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
  -r         auto rename if file name conflicts

Supported name format holder: %artist%, %title%, %album%

Import

from ncmdump import dump
def dump(input_path, output_path = None, skip = True):
    '''
    args:
        input_path: a string of input file path
        output_path: a string of output file path or a naming function
        skip: a boolean controls conversion skipping when output file exists

    returns:
        a string of output file path or none if conversion is skipped
    '''

空文件

简介

python app.py Revolution.ncm 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/afra55/Ncm2Mp3.git
git@gitee.com:afra55/Ncm2Mp3.git
afra55
Ncm2Mp3
Ncm2Mp3
master

搜索帮助