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 插件命令权重(默认值:50)

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)

BILI_FAV_WATCHER__SESSDATA B站登录凭证(默认值为空字符串)

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

File metadata

File hashes

Hashes for nonebot_plugin_bili_fav_watcher-0.1.11.tar.gz
Algorithm Hash digest
SHA256 3b87b0251730166d30ca1513e49d134794b50b3d13b9b901447468d3ce166d15
MD5 2b55e0b3730b363b8ca9c8f1c96e0f27
BLAKE2b-256 c56316f74dff27110b6a0114d24fe24ca348dce1597bb20b3c67b526c285557d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_bili_fav_watcher-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5599e2dbe6a2a82341f761af57c55b8074776c2919a7ca72eb353454c32aa9
MD5 605f1c986f8e9f0f14380d9f12288ca5
BLAKE2b-256 22835e0a331637b9fa2152c2cd8d47b144ab1b5f07d377e61e7eec2e67c9b52e

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