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
File details
Details for the file nonebot_plugin_imgexploration-0.1.9.tar.gz
.
File metadata
- Download URL: nonebot_plugin_imgexploration-0.1.9.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c5ac4e441d9cc4f84b1dfc338c2f8c930124f1ab1c728eb4ff2ab450ba9e344 |
|
MD5 | 92c475c6d369f9acbf01ec869c8f39a6 |
|
BLAKE2b-256 | 1608c9ee92b233915e08af8094c21d6485f6a5b89189b339edc89aa001b1d30a |
File details
Details for the file nonebot_plugin_imgexploration-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_imgexploration-0.1.9-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e028407d73febc7db6372d516a089c15751a8764afbb9772ee54f5999dc8442e |
|
MD5 | ae309a844dfc215f262f0ca65546ab21 |
|
BLAKE2b-256 | 6b1027673af2e23b22014ae4ba925322244c408b013647d408ebd88567aee91b |