nonebot-plugin-b23


Namenonebot-plugin-b23 JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/eya46/nonebot_plugin_b23
Summarynonebot2 plugin B站热搜
upload_time2024-11-07 10:10:17
maintainerNone
docs_urlNone
authoreya46
requires_python<4.0,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <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
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/eya46/nonebot_plugin_b23",
    "name": "nonebot-plugin-b23",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "eya46",
    "author_email": "61458340+eya46@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/b9/3f/d14ced10e562cc3a40c8af12b11db5b75bc91529ded29e7760665370892f/nonebot_plugin_b23-0.4.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <a href=\"https://nonebot.dev/\"><img src=\"https://nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# NoneBot Plugin B23\n\n# Bilibili\u70ed\u641c\n\n![License](https://img.shields.io/github/license/eya46/nonebot_plugin_b23)\n![Python](https://img.shields.io/badge/python-3.9+-blue.svg)\n![NoneBot](https://img.shields.io/badge/nonebot-2.3.0+-red.svg)\n</div>\n\n## \u9ed8\u8ba4\u547d\u4ee4\n\n* B\u7ad9\u70ed\u641c\n* b23\n\n## \u4f7f\u7528\n\n\u83b7\u53d6B\u7ad9\u70ed\u641c(\u9ed8\u8ba420\u6761)\n> /b23\n\n\u83b7\u53d610\u6761B\u7ad9\u70ed\u641c\n> /b23 10\n\n## \u4f5c\u7528\n\n\u83b7\u53d6B\u7ad9\u70ed\u641c\n\n## \u5b89\u88c5\n\n- `pip install nonebot-plugin-b23`\n- `poetry add nonebot-plugin-b23`\n- `pdm add nonebot-plugin-b23`\n\n## \u914d\u7f6e\n\n|         \u540d\u79f0          |        \u9ed8\u8ba4\u503c         |           \u63cf\u8ff0            |\n|:-------------------:|:------------------:|:-----------------------:|\n| b23_default_command |       'B\u7ad9\u70ed\u641c'       |          \u9ed8\u8ba4\u547d\u4ee4           |\n|    b23_commands     |     {'b23', }      |           \u547d\u4ee4\u540d           |\n|      b23_block      |       False        |        \u662f\u5426\u963b\u6b62\u5411\u4e0b\u4f20\u64ad         |\n|    b23_priority     |         99         |           \u4f18\u5148\u7ea7           |\n|   b23_max_length    |         20         | \u70ed\u641c\u6570\u91cf(1~100)<br />\u63a8\u8350\u522b\u8bbe\u592a\u9ad8 |\n|   b23_user_agent    | \"Chrome/130.0.0.0\" |      \u8bf7\u6c42\u5934User-Agent      |\n\n## [\u4f9d\u8d56](pyproject.toml)\n\n* nonebot2[httpx]^2.3.0",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "nonebot2 plugin B\u7ad9\u70ed\u641c",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "https://github.com/eya46/nonebot_plugin_b23"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f34cb8a92904527e4a384fca23507b85ea6c0d9ffb6809c20a22092567743a2",
                "md5": "3d9f07bcba5c292a5da6ea27f654ca4e",
                "sha256": "ce24a5f9247cf7ab7ecc362ed9641353d64a1b66b0cd128551275e31fe5a17aa"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_b23-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3d9f07bcba5c292a5da6ea27f654ca4e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 4134,
            "upload_time": "2024-11-07T10:10:16",
            "upload_time_iso_8601": "2024-11-07T10:10:16.047617Z",
            "url": "https://files.pythonhosted.org/packages/1f/34/cb8a92904527e4a384fca23507b85ea6c0d9ffb6809c20a22092567743a2/nonebot_plugin_b23-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b93fd14ced10e562cc3a40c8af12b11db5b75bc91529ded29e7760665370892f",
                "md5": "c59cd1283eabaf282ff50e6e3cd28116",
                "sha256": "8b0a3fcb0a8c4df58522ff2414c4f926b716428e04fcb175580e08f03c9cbd7b"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_b23-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c59cd1283eabaf282ff50e6e3cd28116",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 3219,
            "upload_time": "2024-11-07T10:10:17",
            "upload_time_iso_8601": "2024-11-07T10:10:17.463298Z",
            "url": "https://files.pythonhosted.org/packages/b9/3f/d14ced10e562cc3a40c8af12b11db5b75bc91529ded29e7760665370892f/nonebot_plugin_b23-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-07 10:10:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "eya46",
    "github_project": "nonebot_plugin_b23",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-b23"
}
        
Elapsed time: 0.36573s