Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图
Project description
nonebot_plugin_imgexploration
Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图
需要能稳定访问Google等网站的代理
一.安装
1.下载
将nonebot_plugin_imgexploration
文件夹放置于 bot根目录/plugins/
下
然后在bot.py中添加
nonebot.load_plugins('./plugins/')
或其他任意加载方式
2.依赖
pip install -r requirements.txt
需要go-cqhttp 频道支持适配补丁nonebot-plugin-guild-patch
https://github.com/mnixry/nonebot-plugin-guild-patch
需要字体
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
二.配置
1.env中的配置
group_on=[123456,321654] #开启搜图功能的群号
guild_on=[123456789,987654321] #开启搜图功能的频道号
sub_channel_on=[1234568,6543216] #开启搜图功能的子频道号
blacklist=[11111111,2222222,333333] #黑名单用户qq号
proxy_port=7890 #代理端口号
saucenao_apikey=xxxxx #saucenao apikey
2.charge.json
在bot根目录新建charge.json文件并填入以下内容
{
"群号1": 功能可用次数,
"子频道号": 100,
"例如22222": 899,
}
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.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_imgexploration-0.1.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2005f8f1a015dd77b2e4210152a7f015144ed994d171712da1defc6a1785f8b1 |
|
MD5 | c76b3abf78797f80c7304da003183e9c |
|
BLAKE2b-256 | 0e2f261737d637852b599bd3b9a5c997f4c8ff39fad7a771e0c1b184e4d319b1 |
File details
Details for the file nonebot_plugin_imgexploration-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_imgexploration-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 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 | 8a6602322ff5e1306043d245aeb953b77c0bfc9f4f947059c30bd95df67bc8e3 |
|
MD5 | 79d67a4c40445aa0744964ea69970c3f |
|
BLAKE2b-256 | c60607baa5dee437ef86dad26be36e6b7c73dc33c434051445bad0c4090ce088 |