Skip to main content

基于go-cqhttp与nonebot2的 网易云 无损音乐下载

Project description

nonebot

nonebot-plugin-ncm

✨ 基于go-cqhttp与nonebot2的 网易云 无损音乐 点歌/下载 ✨

license nonebot release wakatime

安装

使用pip安装

1.pip install nonebot-plugin-ncm 进行安装
2.并在bot.py添加nonebot.load_plugin('nonebot-plugin-ncm')

使用nb-cli安装(推荐)

nb plugin install nonebot-plugin-ncm 进行安装

如果希望使用`nonebot2 a16`及以下版本 请使用`pip install nonebot-plugin-ncm==1.1.0`进行安装

命令列表:

命令 备注
/ncm 获取命令菜单
/ncm t 开启解析
/ncm f 关闭解析
/点歌 歌名 点歌

注意说明

  • 使用的网易云账号需要拥有黑胶VIP
  • 默认解析状态为关闭,请在每个群内使用/ncm t开启 (或者使用配置中的white_list项批量导入需要开启的群号)
  • 默认下载最高音质的音乐
  • 本程序实质为调用web接口下载音乐上传
  • 网易云单曲分享到群内会自动解析下载
  • 仅限群聊使用!!!(因为go-cqhttp还不支持好友发文件)
  • 回复bot消息即可自动下载上传音乐文件(回复消息不输入内容也行)
  • 低版本升级至1.0.0版本请删掉db文件夹

配置文件说明

ncm_admin=["owner", "admin"] # 设置命令权限(非解析下载,仅解析功能开关设置)
ncm_phone=  # 手机登录
ncm_password=  # 密码
# 总开关开启后在每个群内依旧是默认关闭的
ncm_song=True  # 单曲解析功能总开关
ncm_list=True  # 歌单解析功能总开关
ncm_search=True  # 点歌功能总开关
white_list=[]  # 白名单一键导入

功能列表

  • 识别/下载 网易云单曲
    • 链接
    • 卡片
    • 卡片转发
  • 识别/下载 网易云歌单
    • 链接
    • 卡片
    • 卡片转发
  • 点歌(网易云)
  • QQ音乐无损下载

示例图

点击查看详细内容

单曲
WqbK7d.png 歌单
WqbQAA.png

鸣谢

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_ncm-1.4.2.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_ncm-1.4.2-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page