{"id":41678025,"url":"https://github.com/ww-rm/ncmdump-py","last_synced_at":"2026-01-24T18:15:42.971Z","repository":{"id":205228842,"uuid":"713750311","full_name":"ww-rm/ncmdump-py","owner":"ww-rm","description":"A simple package used to dump ncm files to mp3 or flac files.","archived":false,"fork":false,"pushed_at":"2025-10-23T16:36:20.000Z","size":39,"stargazers_count":46,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-26T06:28:15.738Z","etag":null,"topics":["ncm","ncmdump","neteasecloudmusic","python"],"latest_commit_sha":null,"homepage":"https://ww-rm.github.io/posts/2023/11/04/ncmdump/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ww-rm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-03T06:54:33.000Z","updated_at":"2025-10-23T16:35:40.000Z","dependencies_parsed_at":"2025-04-22T05:18:19.027Z","dependency_job_id":null,"html_url":"https://github.com/ww-rm/ncmdump-py","commit_stats":null,"previous_names":["ww-rm/ncmdump-py"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ww-rm/ncmdump-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ww-rm%2Fncmdump-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ww-rm%2Fncmdump-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ww-rm%2Fncmdump-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ww-rm%2Fncmdump-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ww-rm","download_url":"https://codeload.github.com/ww-rm/ncmdump-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ww-rm%2Fncmdump-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28733741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T17:51:25.893Z","status":"ssl_error","status_checked_at":"2026-01-24T17:50:48.377Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ncm","ncmdump","neteasecloudmusic","python"],"created_at":"2026-01-24T18:15:40.677Z","updated_at":"2026-01-24T18:15:42.314Z","avatar_url":"https://github.com/ww-rm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ncmdump-py\n\nA simple package used to dump ncm files to mp3 or flac files, it can:\n\n- Decrypt and dump `.ncm` files.\n- Auto add album and cover info into `.mp3` or `.flac` files.\n- Auto try download cover image when there is no cover data in `.ncm` files.\n\n## Install\n\n```bat\npip install ncmdump-py\n```\n\n## Usage\n\n### Command-line tool\n\n```plain\npython -m ncmdump [-h] [--in-folder IN_FOLDER] [--out-folder OUT_FOLDER] [--dump-metadata] [--dump-cover] [files ...]\n```\n\n```plain\nusage: ncmdump [-h] [--in-folder IN_FOLDER] [--out-folder OUT_FOLDER] [--dump-metadata] [--dump-cover] [files ...]\n\nDump ncm files with progress bar and logging info, only process files with suffix '.ncm'\n\npositional arguments:\n  files                 Files to dump, can follow multiple files.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --in-folder IN_FOLDER\n                        Input folder of files to dump.\n  --out-folder OUT_FOLDER\n                        Output folder of files dumped.\n  --dump-metadata       Whether dump metadata.\n  --dump-cover          Whether dump album cover.\n```\n\n### Import in your code\n\n```python\nfrom ncmdump import NeteaseCloudMusicFile\n\nncmfile = NeteaseCloudMusicFile(\"filename.ncm\")\nncmfile.decrypt()\n\nprint(ncmfile.music_metadata)  # show music metadata\n\nncmfile.dump_music(\"filename.mp3\")  # auto detect correct suffix\n\n# Maybe you also need dump metadata or cover image\n# ncmfile.dump_metadata(\"filename.json\")  \n# ncmfile.dump_cover(\"filename.jpeg\")\n```\n\n---\n\n*If you think this project is helpful to you, :star: it and let more people see!*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fww-rm%2Fncmdump-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fww-rm%2Fncmdump-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fww-rm%2Fncmdump-py/lists"}