Skip to main content

NoneBot2的解析视频链接/小程序插件,发送 tiktok、bilibili、twitter等可以让QQ发送响应的图片、视频

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-resolver

✨ NoneBot2 解析视频链接/小程序插件 ✨

license pypi python

📖 介绍

这是一个 nonebot2 插件,解析视频链接/小程序插件,发送 tiktok、bilibili、twitter等可以让QQ发送响应的图片、视频

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-resolver
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-resolver
pdm
pdm add nonebot-plugin-resolver
poetry
poetry add nonebot-plugin-resolver
conda
conda install nonebot-plugin-resolver

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot-plugin-resolver"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

# twitter的token和本地代理
bearer_token = ""
resolver_proxy = "http://127.0.0.1:7890"

🎉 使用 & 效果图

help help help help help

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_resolver-1.0.2.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_resolver-1.0.2-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

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