Skip to main content

nonebot2解析bilibili插件

Project description

nonebot

nonebot_plugin_analysis_bilibili

✨ NoneBot bilibili 视频、番剧解析插件 ✨

license pypi python

使用方式

私聊或群聊发送 bilibili 的小程序/链接

额外配置项(可选)

在配置文件中加入

analysis_blacklist = [123456789] # 不解析里面填写的QQ号发的链接 List[int]
analysis_group_blacklist = [123456789] # 不解析里面填写的QQ群号发的链接 List[int]
analysis_display_image = true # 是否显示封面 true/false

# 哪种类型需要显示封面,与上一项相冲突,上一项为true则全开 List[str]
analysis_display_image_list = ["video", "bangumi", "live", "article", "dynamic"]

安装

  1. 使用 nb-cli 安装,不需要手动添加入口,更新使用 pip
nb plugin install nonebot_plugin_analysis_bilibili
  1. 使用 pip 安装和更新,初次安装需要手动添加入口
pip install --upgrade nonebot_plugin_analysis_bilibili

pip 安装后在 Nonebot2 入口文件(例如 bot.py )增加:

nonebot.load_plugin("nonebot_plugin_analysis_bilibili")

附:支持 a16 最后一版为 2.4.3

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

Built Distribution

File details

Details for the file nonebot_plugin_analysis_bilibili-2.4.6.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_analysis_bilibili-2.4.6.tar.gz
Algorithm Hash digest
SHA256 a26b8ff53715f5498c1919a739e191b61ac39d5e95b906d17132cc7eee67d141
MD5 2ccdbcea967226cd0b4183503260ea8f
BLAKE2b-256 f842a8a02b48c5ca8b0b90507bc130d90d4914084f64c921b0da8b13d7af2316

See more details on using hashes here.

File details

Details for the file nonebot_plugin_analysis_bilibili-2.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_analysis_bilibili-2.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7af7362a5aa51a1a1d4870b3e6a1fffaff9fcd3e66d51329fd259abbc4f38204
MD5 0111579abab4aaaa3a43eee81758231c
BLAKE2b-256 fe9b5bc6c5a0eec82bc726a408d114baf5235312f416b7d117c86e28783176e1

See more details on using hashes here.

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