NoneBot2的解析视频链接/小程序插件,发送 tiktok、bilibili、twitter等可以让QQ发送响应的图片、视频
Project description
📖 介绍
这是一个 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"
🎉 使用 & 效果图
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_resolver-1.0.2.tar.gz
.
File metadata
- Download URL: nonebot_plugin_resolver-1.0.2.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc485fa1a71ccc6dfa654fdc4af826a653fd633c981ba82f2cbda55f4a06c58 |
|
MD5 | 251d5018dbf41cc048ef09f83180532c |
|
BLAKE2b-256 | a046b8e4abb7e53e4851dfdd54ffdd7f2c59e9e211b336b49d83d5678778afd6 |
File details
Details for the file nonebot_plugin_resolver-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_resolver-1.0.2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0428abc33e2ddfa657c2a404e7cf00646171f35c91af1949cf33e669e929d1 |
|
MD5 | efe93353c2b6b23a72acd8711163a77d |
|
BLAKE2b-256 | c3755d266b3099c5991fcb74019b37e5ef31061f93fbee1603734b45d554fd5a |