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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | daeb0b701361d734a26a8456bf33c794de800fa5088ddef65e650f61a60961eb |
|
MD5 | 1032c361443f37976ddb6e472067bc5a |
|
BLAKE2b-256 | d43827f9eb5565a69ca47391580e5b16d23ccd335fc0863b9a041dbcce50f84d |
Close
Hashes for nonebot_plugin_imgexploration-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fefaeb2406b23250c3a04ca50a0ed784c5ff4e0e3abed1be5bc31c61ea684c04 |
|
MD5 | cd27baa445b6df39f4f5f69f9c426920 |
|
BLAKE2b-256 | 7469766e7414f6a218e8ba4509306b36e9482e7390c947552a23823c6483fb10 |