基于go-cqhttp与nonebot2的 网易云 无损音乐下载
Project description
nonebot-plugin-ncm
✨ 基于go-cqhttp与nonebot2的 网易云 无损音乐 点歌/下载 ✨
安装
使用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 | 关闭解析 |
/点歌 歌名 | 点歌 |
- 命令开始符号会自动识别
COMMAND_START
项
注意说明
- 使用的网易云账号需要拥有黑胶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音乐无损下载
示例图
鸣谢
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for nonebot_plugin_ncm-1.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72fe4f5b5f621eb7ffe06136b7590764a288c917204d8ed2933b9065afd1492b |
|
MD5 | 8fa99cd928be80bb4108420cfce3b70c |
|
BLAKE2b-256 | 1d4ccba19a2984c8efbddb5bcc92dcf7ab9c2920e0294c867c5b08ff119e6c17 |