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.7.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_analysis_bilibili-2.4.7.tar.gz
Algorithm Hash digest
SHA256 a7f480e94a9c6393c3307899ef7452757c8fe6d1d2276fb470d734432b54f125
MD5 1b958296dcc2d9fe2b18f4fe5b131da4
BLAKE2b-256 4c12aa6ed9eeaa1f48cb5014029039e3ea6ba3760e8623344106915c2da21c7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_analysis_bilibili-2.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 edeabce58a84e72576c6c4e5bfbe146c74492db4b8aa6e6db7e9ec33e631d794
MD5 7d71b36639874d20beb91ce15a737949
BLAKE2b-256 759ecfcea7a4fbf64a806a9d85810fa7952c214f50c773fdc68b135673900c7a

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