Skip to main content

A Bilibili user video favorites monitor

Project description

nonebot-plugin-bili-fav-watcher

license python

安装

nb plugin install nonebot-plugin-bili-fav-watcher

简介

这是一个用于监听B站收藏夹更新的NoneBot插件,可以自动发送收藏夹更新通知到QQ群。

使用

<favw> [uid]: 添加B站用户。

<off_favw> [uid]: 移除指定B站用户。

<show_favw>: 查看监听列表。

<favw_now>: 立即执行一次监视。

<add_favw_admin> [qq_id]: 给指定用户添加插件使用权限。

<del_favw_admin> [qq_id]: 删除指定用户的插件使用权限。

<show_favw_admin>: 查看插件使用权限列表。

<favw_admin_only_on>: 设置为仅管理员可用(仅SUPERUSERS可用)。

<favw_admin_only_off>: 设置为所有群员可用(仅SUPERUSERS可用)。

示例:

favw 123456

off_favw 123456

ps: 使用时请在命令前添加命令判定符,一般为/#

配置

BILI_FAV_WATCHER__COMMAND_PRIORITY 插件命令权重

BILI_FAV_WATCHER__INTERVAL_BETWEEN_RUNS 收藏夹遍历间隔(单位:秒,默认值:60)

BILI_FAV_WATCHER__NEW_VIDEO_THRESHOLD 收藏夹新视频判定阈值(单位:秒,默认值:120)

BILI_FAV_WATCHER__CACHE_CLEANUP_THRESHOLD 缓存清理阈值(单位:秒,默认值:180)

BILI_FAV_WATCHER__SLEEP_INTERVAL 遍历过程中休眠间隔(单位:秒,默认值:5)

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

File metadata

File hashes

Hashes for nonebot_plugin_bili_fav_watcher-0.1.10.tar.gz
Algorithm Hash digest
SHA256 d72526bc7bc30db6b0738dc8c0b3832ce3f5f757fd1c58d9557db11a1233e3d5
MD5 c70ccb7c7f0d3e5f697e9886cb50fa5d
BLAKE2b-256 2a077b838cdf2fbb1193d4ec4d54251ba6274f8f9f8f11edec2ba491907cb125

See more details on using hashes here.

Provenance

File details

Details for the file nonebot_plugin_bili_fav_watcher-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_bili_fav_watcher-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f1a00d194cbc6c8a9e2d1a5a3ce6d0de6aeedf4ced1e77571958b07dc5b17cd7
MD5 279e0b5dacfb9cbf3bda885adc2563f8
BLAKE2b-256 a66ed64b07c76fa92736a6a99afdd5668b6bb034e6e5e687d66907040e37c063

See more details on using hashes here.

Provenance

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