nonebot-plugin-ddcheck


Namenonebot-plugin-ddcheck JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://github.com/noneplugin/nonebot-plugin-ddcheck
SummaryNonebot2 成分姬插件
upload_time2023-08-10 05:14:06
maintainer
docs_urlNone
authormeetwq
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # nonebot-plugin-ddcheck

NoneBot2 成分姬插件

查询B站关注列表的VTuber成分,并以图片形式发出

VTB列表数据来源:[vtbs.moe](https://vtbs.moe/)


### 使用方式

**以下命令需要加[命令前缀](https://nonebot.dev/docs/appendices/config#command-start-和-command-separator) (默认为`/`),可自行设置为空**

```
查成分 + B站用户名/UID
```


### 安装

- 使用 nb-cli

```
nb plugin install nonebot_plugin_ddcheck
```

- 使用 pip

```
pip install nonebot_plugin_ddcheck
```


### 配置

需要在 `.env.xxx` 文件中添加任意的B站用户cookie:

```
bilibili_cookie=xxx
```

`cookie` 获取方式:

`F12` 打开开发工具,查看 `www.bilibili.com` 请求的响应头,找形如 `SESSDATA=xxx;` 的字段,如:

```
bilibili_cookie="SESSDATA=xxx;"
```

<div align="left">
  <img src="https://s2.loli.net/2022/07/19/AIBmd2Z9V5YwlkF.png" width="500" />
</div>


### 示例

<div align="left">
  <img src="https://s2.loli.net/2022/03/20/Nk3jZJgxforHDsu.png" width="400" />
</div>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/noneplugin/nonebot-plugin-ddcheck",
    "name": "nonebot-plugin-ddcheck",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "meetwq",
    "author_email": "meetwq@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f4/11/4d3eb350b04ddc6257516d4aeeb9b0cf7551804d277ac901079335d8250f/nonebot_plugin_ddcheck-0.3.1.tar.gz",
    "platform": null,
    "description": "# nonebot-plugin-ddcheck\n\nNoneBot2 \u6210\u5206\u59ec\u63d2\u4ef6\n\n\u67e5\u8be2B\u7ad9\u5173\u6ce8\u5217\u8868\u7684VTuber\u6210\u5206\uff0c\u5e76\u4ee5\u56fe\u7247\u5f62\u5f0f\u53d1\u51fa\n\nVTB\u5217\u8868\u6570\u636e\u6765\u6e90\uff1a[vtbs.moe](https://vtbs.moe/)\n\n\n### \u4f7f\u7528\u65b9\u5f0f\n\n**\u4ee5\u4e0b\u547d\u4ee4\u9700\u8981\u52a0[\u547d\u4ee4\u524d\u7f00](https://nonebot.dev/docs/appendices/config#command-start-\u548c-command-separator) (\u9ed8\u8ba4\u4e3a`/`)\uff0c\u53ef\u81ea\u884c\u8bbe\u7f6e\u4e3a\u7a7a**\n\n```\n\u67e5\u6210\u5206 + B\u7ad9\u7528\u6237\u540d/UID\n```\n\n\n### \u5b89\u88c5\n\n- \u4f7f\u7528 nb-cli\n\n```\nnb plugin install nonebot_plugin_ddcheck\n```\n\n- \u4f7f\u7528 pip\n\n```\npip install nonebot_plugin_ddcheck\n```\n\n\n### \u914d\u7f6e\n\n\u9700\u8981\u5728 `.env.xxx` \u6587\u4ef6\u4e2d\u6dfb\u52a0\u4efb\u610f\u7684B\u7ad9\u7528\u6237cookie\uff1a\n\n```\nbilibili_cookie=xxx\n```\n\n`cookie` \u83b7\u53d6\u65b9\u5f0f\uff1a\n\n`F12` \u6253\u5f00\u5f00\u53d1\u5de5\u5177\uff0c\u67e5\u770b `www.bilibili.com` \u8bf7\u6c42\u7684\u54cd\u5e94\u5934\uff0c\u627e\u5f62\u5982 `SESSDATA=xxx;` \u7684\u5b57\u6bb5\uff0c\u5982\uff1a\n\n```\nbilibili_cookie=\"SESSDATA=xxx;\"\n```\n\n<div align=\"left\">\n  <img src=\"https://s2.loli.net/2022/07/19/AIBmd2Z9V5YwlkF.png\" width=\"500\" />\n</div>\n\n\n### \u793a\u4f8b\n\n<div align=\"left\">\n  <img src=\"https://s2.loli.net/2022/03/20/Nk3jZJgxforHDsu.png\" width=\"400\" />\n</div>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Nonebot2 \u6210\u5206\u59ec\u63d2\u4ef6",
    "version": "0.3.1",
    "project_urls": {
        "Homepage": "https://github.com/noneplugin/nonebot-plugin-ddcheck",
        "Repository": "https://github.com/noneplugin/nonebot-plugin-ddcheck"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c326db32739fcc2787e0aeef97fa2cabbd2358c2e57b3167e3130e3cd184299b",
                "md5": "35566afa6046c87efc4c0f5224d450f7",
                "sha256": "9b6751b780acdf2116ae6639da5c253ec8d812be9edff882f83117b84e283456"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_ddcheck-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35566afa6046c87efc4c0f5224d450f7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 7718,
            "upload_time": "2023-08-10T05:14:04",
            "upload_time_iso_8601": "2023-08-10T05:14:04.646392Z",
            "url": "https://files.pythonhosted.org/packages/c3/26/db32739fcc2787e0aeef97fa2cabbd2358c2e57b3167e3130e3cd184299b/nonebot_plugin_ddcheck-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4114d3eb350b04ddc6257516d4aeeb9b0cf7551804d277ac901079335d8250f",
                "md5": "8b6bcef06a081c8d90f88d480a2364f8",
                "sha256": "92ec4e36f7df2f7b403835e2573c785126677d38c967abe1ba622c1dd2c90ce0"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_ddcheck-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8b6bcef06a081c8d90f88d480a2364f8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 6382,
            "upload_time": "2023-08-10T05:14:06",
            "upload_time_iso_8601": "2023-08-10T05:14:06.161273Z",
            "url": "https://files.pythonhosted.org/packages/f4/11/4d3eb350b04ddc6257516d4aeeb9b0cf7551804d277ac901079335d8250f/nonebot_plugin_ddcheck-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-10 05:14:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "noneplugin",
    "github_project": "nonebot-plugin-ddcheck",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-ddcheck"
}
        
Elapsed time: 0.10752s