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站登录凭证的核心字段(默认值为空字符串)

BILI_FAV_WATCHER__BILI_JCT B站登录凭证的字段之一(默认值为空字符串)

BUVID3 B站登录凭证的字段之一(默认值为空字符串)

DEDEUSERID B站登录凭证的字段之一(默认值为空字符串)

AC_TIME_VALUE B站登录凭证的有效期(默认值为空字符串,该字段存储在localStorage中而非cookie)

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

nonebot_plugin_bili_fav_watcher-0.1.12.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_bili_fav_watcher-0.1.12.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_bili_fav_watcher-0.1.12.tar.gz
Algorithm Hash digest
SHA256 693637fb66f1ceffebe15634f42ca8098ed6a20b91155a34b2067bdd9e29f374
MD5 55353b92a5944a3f624ba698a886058f
BLAKE2b-256 d20bb81f4a18bc2198e538f8a7b0e340438952f38e4326089c70e228a448c21a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_bili_fav_watcher-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 1f8dcd1cf21c1dc2f5859f8bf28a1355304a56ea487b1e04f0ca67676a302901
MD5 41901ddef051cf53576ef972e9002a9c
BLAKE2b-256 c32eefa6822ceb00ece3937c13cc516f153d7130f92651ed678b49eec976a19b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page