A plugin to get the bilibili video cover for NoneBot2
Project description
📖 介绍
提取B站视频的封面, 支持链接、av号、bv号
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-bilicover
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-bilicover
pdm
pdm add nonebot-plugin-bilicover
poetry
poetry add nonebot-plugin-bilicover
conda
conda install nonebot-plugin-bilicover
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_bilicover')
从 github 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下命令克隆此储存库git clone https://github.com/A-kirami/nonebot-plugin-bilicover.git
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin('src.plugins.nonebot_plugin_bilicover')
🎉 使用
指令表
指令 | 说明 |
---|---|
提取封面 + 视频链接/av号/bv号 | 提取对应视频的封面图片 |
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-bilicover-0.2.2.tar.gz
.
File metadata
- Download URL: nonebot-plugin-bilicover-0.2.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0741eb4c95e15d43e47197266f3201e17e538ab4d599da00ecce36764eb89b1 |
|
MD5 | 170938abababf63e86cf01233ef4cb09 |
|
BLAKE2b-256 | fbb22c23ef2a8889dbbc4267cb673b933010c96c80ecb30d809a00fb7a07a281 |
File details
Details for the file nonebot_plugin_bilicover-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_bilicover-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64101745d7aedf05af99684318cd51a0e8c266d7ce4f216395d8d66d0e0cc0e |
|
MD5 | d2bc0e51941ca08771f7918da1ad1c16 |
|
BLAKE2b-256 | e4487e9aac971e539f32e26ab532505557b2464354064410880a5ca68a3d6ac3 |