README.md

    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 -h"
    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
        '''

    项目简介

    🚀 Github 镜像仓库 🚀

    源项目地址

    https://github.com/nondanee/ncmdump

    发行版本

    当前项目没有发行版本

    贡献者 6

    zxsean @zxsean
    N nondanee @nondanee
    Y YujiaCheng1996 @YujiaCheng1996
    L leconio @leconio
    H HarrisonXi @HarrisonXi
    K kalteblau @kalteblau

    开发语言

    • Python 100.0 %