Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-bili-share-keeper

✨ 记录b站视频链接分享,并提示多次分享 ✨

GitHub stars license pypi python

📖 介绍

记录b站视频链接分享,并提示多次分享

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-bili-share-keeper
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-bili-share-keeper
pdm
pdm add nonebot-plugin-bili-share-keeper
poetry
poetry add nonebot-bili-share-keeper
conda
conda install nonebot-bili-share-keeper

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_bili-share-keeper"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
bilibili_share_keeper_redis_url 否 redis://localhost:6379/0 redis数据库地址,不填或不可用时自动退回内存存储
bilibili_share_keeper_target_group 是 无 开启此插件的群聊,支持单个群号或多个群号
bilibili_share_keeper_key_prefix 否 nb2:bili_share_keeper redis中记录的前缀
bilibili_share_keeper_http_timeout 否 10 http请求的超时值

bilibili_share_keeper_target_group 配置示例

支持以下形式:

# 单个群
bilibili_share_keeper_target_group=123456

# 多个群(推荐 JSON 数组)
bilibili_share_keeper_target_group=[123456, 234567, 345678]

# 多个群(逗号分隔)
bilibili_share_keeper_target_group=123456,234567,345678

🕹️ 使用

在第二次及以上的时候分享B站链接视频会出现“此视频已于{datetime}被群友{群友名称}分享过,这是第{分享次数}次被分享”

Metadata

Release files for nonebot-plugin-bili-share-keeper 0.0.2

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

Source distribution (sdist)

Source distribution for nonebot-plugin-bili-share-keeper 0.0.2
File Size Uploaded Provenance Actions
nonebot_plugin_bili_share_keeper-0.0.2.tar.gz 6.8 kB With provenance Details for nonebot_plugin_bili_share_keeper-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-bili-share-keeper 0.0.2
File Interpreter ABI Platform Actions
nonebot_plugin_bili_share_keeper-0.0.2-py3-none-any.whl Python 3 none any Details for nonebot_plugin_bili_share_keeper-0.0.2-py3-none-any.whl

Total release size: 14.7 kB

Release files / nonebot_plugin_bili_share_keeper-0.0.2.tar.gz

Download URL nonebot_plugin_bili_share_keeper-0.0.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
edac13b87415246b026b7149448a7d4a33a3b204e91e0945179c184385bc3d88
BLAKE2b-256 checksum
How to use checksums
26001660e9e8e550008409f7b86e56d20c1f8d21203352ea0d629065d4fdbc85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Release files / nonebot_plugin_bili_share_keeper-0.0.2-py3-none-any.whl

Download URL nonebot_plugin_bili_share_keeper-0.0.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ebc9e617f1dcba75b0e6d80c140b50bef3e22fd189b906cc23b3f0bc0e33ca7
BLAKE2b-256 checksum
How to use checksums
73acf6a3ce6302302c64f0e5f522935ba3c1b732a287d0d0f9bc2361a02025bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Security for nonebot-plugin-bili-share-keeper 0.0.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nonebot_plugin_bili_share_keeper-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

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