Skip to main content

vncmd

网易云音乐 CLI 下载与管理工具。

之前用的下载器不好用了,又找不到其他能嵌入元数据,又方便的工具,所以自己写了一个。

本项目不提供越权操作,下载 VIP 音乐需要确保账号有 VIP 权限。
本项目仅供学习交流,使用本项目获取的数据,请于 24 小时内删除。

GitHub|PyPI|Blog|LICENSE

功能

  • 搜索单曲,预览详情与歌词
  • 下载单曲/歌单/专辑(使用 Cookie 以下载高音质/VIP)
  • 从歌词等来源解析并嵌入元数据
  • 以交错/合并/拆分/原始模式处理双语歌词
  • 追踪歌单等多来源,自动同步和批量下载
  • 支持仅下载歌词/封面
  • 并发下载,断点续传,自动重试,完整性校验

以及更多附加功能...

快速开始

pip install vncmd
uv tool install vncmd # 如果你使用 uv,推荐用此
vncmd --init

初次使用,请至少阅读详细指南。 从 0.x 升级请阅读迁移说明。

配置和缓存默认放在 ~/.vSoft/vncmd/,可通过环境变量 VNCMD_HOME 自定义。
下载目录默认 ~/Downloads/vncmd-dl/,在配置文件中可修改。

vncmd 有各种方便的功能,但可能不适合所有用户,因此默认关闭。
请阅读配置来了解功能运作方式,以及配置方法。

# 搜索
vncmd search "Beyond"

# 使用。数字为曲目 ID,专辑歌单同理。加入 -d 参数即为下载。
# 单曲:song|歌单:playlist|专辑:album。
vncmd song 409926           # 预览单曲
vncmd song 409926 -d        # 下载单曲
vncmd playlist 17647459371  # 预览歌单
vncmd playlist 17647459371 -d -c 5  # 下载歌单前 5 首
vncmd album 405493 -d       # 下载专辑

# 设置 Cookie
vncmd cookie "..."

# Tracker
vncmd tracker my-list          # 新建/查看 Tracker
vncmd tracker my-list -f       # 交互式更新

# 音频完整性校验
vncmd tool check ~/Music

二进制

vncmd 提供不依赖 Python 环境的二进制程序,打包了所有依赖,能够直接运行。
你可以在 GitHub Releases 下载,使用方式与 pip/uv 安装的无差别。

Metadata

Release files for vncmd 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vncmd 1.1.0
File Size Uploaded Provenance Actions
vncmd-1.1.0.tar.gz 76.4 kB Without provenance Details for vncmd-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vncmd 1.1.0
File Interpreter ABI Platform Actions
vncmd-1.1.0-py3-none-any.whl Python 3 none any Details for vncmd-1.1.0-py3-none-any.whl

Total release size: 160.0 kB

Release files / vncmd-1.1.0.tar.gz

Download URL vncmd-1.1.0.tar.gz
Size 76.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e5b5bd4ad213429c999060895bde8fd20a3f74c7a2ebc67767414fe5743178d6
BLAKE2b-256 checksum
How to use checksums
4d26de28a7256a1320679cd5a3177f4f1330e7b8015ea5e5f2f891fdaf01cc99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / vncmd-1.1.0-py3-none-any.whl

Download URL vncmd-1.1.0-py3-none-any.whl
Size 83.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a43e97b0e7885151a3f33b2743255fcc4e4b571ff50fc3d22e6614ee27d50908
BLAKE2b-256 checksum
How to use checksums
30670594848f6f20f570eb851a94ebb4b27aa3fb68ddbd2388e973db21f136a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for vncmd 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page