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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file nonebot-plugin-imgsearch-0.1.2.tar.gz.

File metadata

  • Download URL: nonebot-plugin-imgsearch-0.1.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.1 Windows/10

File hashes

Hashes for nonebot-plugin-imgsearch-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bcd4a4a26a8a8635df1fcdc023d848602d74b89abac85a30be48b6096a1df33f
MD5 8dec9f453cbd1de1e2280e153b324788
BLAKE2b-256 a28a0671d5356b035bcb32b173d04e8fdf567372e24fc35ef1fefd5aed0aa104

See more details on using hashes here.

File details

Details for the file nonebot_plugin_imgsearch-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_imgsearch-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fb232658287316431d6a1884528fc35576c1dfd52aaba72d982924917bccd7e
MD5 6a9173ffe995b9f8ab5e9f42f92f5653
BLAKE2b-256 98b65d0899e73ff52595f80472d51873490c5c1378828bc3ad41f76440593475

See more details on using hashes here.

Supported by

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