Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图
Project description
nonebot_plugin_imgexploration
Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图
需要能稳定访问Google等网站的代理
一.安装
1.安装
pip install nonebot-plugin-imgexploration
然后在bot.py中添加(注意顺序)
nonebot.load_plugin('nonebot_plugin_guild_patch')
nonebot.load_plugin('nonebot_plugin_imgexploration')
或其他任意加载方式
2.需要字体
HarmonyOS_Sans_SC_Regular.ttf
HarmonyOS_Sans_SC_Bold.ttf
HarmonyOS_Sans_SC_Light.ttf
https://developer.harmonyos.com/cn/docs/design/des-guides/font-0000001157868583
3.依赖 (使用pip安装无需以下步骤)
pip install -r requirements.txt
go-cqhttp 频道支持适配补丁nonebot-plugin-guild-patch
安装命令
pip install nonebot-plugin-guild-patch
在bot.py中添加
nonebot.load_plugin('nonebot_plugin_guild_patch')
二.配置
1.env中的配置
proxy_port=xxxx #代理端口号
saucenao_apikey=xxxxx #saucenao apikey
三.使用
/搜图
/搜图 <图片>
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
Close
Hashes for nonebot_plugin_imgexploration-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62ee0cd09545df19ecf38def78e09e6dbb4d87f4f715c4f828890cec8fd985f5 |
|
MD5 | 54e1eb58d2e73cba81162dfe200a253f |
|
BLAKE2b-256 | 3c9f2fe843ff50d326477f66fb6ab7f369d74403c79e26e34a81d7f7ff0d31a5 |
Close
Hashes for nonebot_plugin_imgexploration-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fad50971e77fefeddb72f96d7211b87dbed81fee9a9175403f3d4fe9860d7ae |
|
MD5 | 587c8f311ad81aa8500e5990b8703cd6 |
|
BLAKE2b-256 | 0d127f6f36e280613bd1c18a63c6071b87a8c3a099eca292fa1bf34b8bf6d83e |