A image search plugin for nonebot2
Project description
nonebot-plugin-imgsearch
✨ NoneBot2 图片搜索插件 ✨
快速启动
-
1. 通过pip安装
pip install nonebot-plugin-imgsearch
-
2. 申请 SAUCENAO API KEY
点此申请
SauceNAO API KEY
用于直接向saucenao请求搜索,无需模拟抓包,更快,更方便。
一个API KEY
每30s可请求5次,每24h可请求200次。 -
3. 配置
.env
文件在你的
.env.*
文件中添加如下内容:search_proxy: <your_proxy> # 代理选项,可留空,如果你的bot位于国内,请填一个代理, # 通常它长这样 -> search_proxy="http://127.0.0.1:7890" saucenao_api_key: <your_saucenao_api_key> # 填你申请到的 SauceNAO API KEY, 是必选项。
使用教程
在群组或私聊中发送 /search [图片]
即可进行搜索,支持多张
更多权限设置请修改source code
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-imgsearch-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd4a4a26a8a8635df1fcdc023d848602d74b89abac85a30be48b6096a1df33f |
|
MD5 | 8dec9f453cbd1de1e2280e153b324788 |
|
BLAKE2b-256 | a28a0671d5356b035bcb32b173d04e8fdf567372e24fc35ef1fefd5aed0aa104 |
Close
Hashes for nonebot_plugin_imgsearch-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb232658287316431d6a1884528fc35576c1dfd52aaba72d982924917bccd7e |
|
MD5 | 6a9173ffe995b9f8ab5e9f42f92f5653 |
|
BLAKE2b-256 | 98b65d0899e73ff52595f80472d51873490c5c1378828bc3ad41f76440593475 |