Skip to main content

A image search plugin for nonebot2

Project description

nonebot

nonebot-plugin-imgsearch

✨ NoneBot2 图片搜索插件 ✨

license pypi python

快速启动

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-imgsearch-0.1.2.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_imgsearch-0.1.2-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page