Skip to main content

检测链接并发送网站简介及预览图

Project description

Nonebot-plugin-og

✨ 检测链接并生成预览图 ✨

license pypi python

📖 介绍

检测链接并生成预览图,基于 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 协议的网站,此插件都会自动发送预览图。

🙏 鸣谢

📄 开源许可证

使用 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_og-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_og-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for nonebot_plugin_og-0.3.0.tar.gz
Algorithm Hash digest
SHA256 158ef825c0d36969e2d25bd042859e02a1f57f3bfc93cab8e3decc3ce846cd82
MD5 ddd4acac4fcbef3581a9c36ff12f27cf
BLAKE2b-256 e072de203c4d89ff5fb6b1ca36faeddea9c7605a6f6037b30633950ca2f8643f

See more details on using hashes here.

File details

Details for the file nonebot_plugin_og-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_og-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08e4ec31152416f11fd473cbb1ad3b7b9fa7df3ccb94ab59d9ab75ae7b2a8801
MD5 621a594f4b207e7ceb7594a98c2bf5e3
BLAKE2b-256 eda5cb981fec1508b89e2a96c38966a0449635a3322f70f923753326b56efa43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page