检测链接并发送网站简介及预览图
Project description
📖 介绍
检测链接并生成预览图,基于 Open Graph 协议
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-og
使用 pip 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下指令即可安装pip install nonebot-plugin-og
使用 Poetry 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下指令即可安装poetry add nonebot-plugin-og
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_og"]
🎉 使用
直接发送任意链接,只要是支持 Open Graph 协议的网站,此插件都会自动发送预览图。
🙏 鸣谢
nonebot/noenbot2
:跨平台Python异步机器人框架Mrs4s/go-cqhttp
:cqhttp的golang实现,轻量、原生跨平台.koishijs/koishi-plugin-og
:本项目直接参考(直接开抄
📄 开源许可证
使用 MIT 许可证发布。
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
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_og-0.3.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_og-0.3.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158ef825c0d36969e2d25bd042859e02a1f57f3bfc93cab8e3decc3ce846cd82 |
|
MD5 | ddd4acac4fcbef3581a9c36ff12f27cf |
|
BLAKE2b-256 | e072de203c4d89ff5fb6b1ca36faeddea9c7605a6f6037b30633950ca2f8643f |
File details
Details for the file nonebot_plugin_og-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_og-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.3 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 | 08e4ec31152416f11fd473cbb1ad3b7b9fa7df3ccb94ab59d9ab75ae7b2a8801 |
|
MD5 | 621a594f4b207e7ceb7594a98c2bf5e3 |
|
BLAKE2b-256 | eda5cb981fec1508b89e2a96c38966a0449635a3322f70f923753326b56efa43 |