Metadata-Version: 2.1
Name: nonebot-plugin-b23
Version: 0.4.0
Summary: nonebot2 plugin B站热搜
Home-page: https://github.com/eya46/nonebot_plugin_b23
License: MIT
Author: eya46
Author-email: 61458340+eya46@users.noreply.github.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: nonebot2[httpx] (>=2.3.0,<3.0.0)
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://nonebot.dev/"><img src="https://nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

# NoneBot Plugin B23

# Bilibili热搜

![License](https://img.shields.io/github/license/eya46/nonebot_plugin_b23)
![Python](https://img.shields.io/badge/python-3.9+-blue.svg)
![NoneBot](https://img.shields.io/badge/nonebot-2.3.0+-red.svg)
</div>

## 默认命令

* B站热搜
* b23

## 使用

获取B站热搜(默认20条)
> /b23

获取10条B站热搜
> /b23 10

## 作用

获取B站热搜

## 安装

- `pip install nonebot-plugin-b23`
- `poetry add nonebot-plugin-b23`
- `pdm add nonebot-plugin-b23`

## 配置

|         名称          |        默认值         |           描述            |
|:-------------------:|:------------------:|:-----------------------:|
| b23_default_command |       'B站热搜'       |          默认命令           |
|    b23_commands     |     {'b23', }      |           命令名           |
|      b23_block      |       False        |        是否阻止向下传播         |
|    b23_priority     |         99         |           优先级           |
|   b23_max_length    |         20         | 热搜数量(1~100)<br />推荐别设太高 |
|   b23_user_agent    | "Chrome/130.0.0.0" |      请求头User-Agent      |

## [依赖](pyproject.toml)

* nonebot2[httpx]^2.3.0
