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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for nonebot_plugin_resolver-1.0.2.tar.gz
Algorithm Hash digest
SHA256 acc485fa1a71ccc6dfa654fdc4af826a653fd633c981ba82f2cbda55f4a06c58
MD5 251d5018dbf41cc048ef09f83180532c
BLAKE2b-256 a046b8e4abb7e53e4851dfdd54ffdd7f2c59e9e211b336b49d83d5678778afd6

See more details on using hashes here.

File details

Details for the file nonebot_plugin_resolver-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_resolver-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d0428abc33e2ddfa657c2a404e7cf00646171f35c91af1949cf33e669e929d1
MD5 efe93353c2b6b23a72acd8711163a77d
BLAKE2b-256 c3755d266b3099c5991fcb74019b37e5ef31061f93fbee1603734b45d554fd5a

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