Skip to main content

基于 HikariSearch 的又一个 Nonebot2 搜图插件

Project description

nonebot-plugin-hikarisearch

适用于 Nonebot2 的搜图插件

使用 HikariSearch 搜索

支持 SauceNAO、IqDB、ascii2d、E-Hentai、TraceMoe

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_hikarisearch
  • 使用 pip
pip install nonebot_plugin_hikarisearch

使用

搜图/saucenao搜图/iqdb搜图/ascii2d搜图/ehentai搜图/tracemoe搜图 + 图片

默认为 saucenao搜图

或回复包含图片的消息,回复搜图

配置

可在 .env.xxx 文件中添加如下配置:

hikarisearch_api=xxx  # HikariSearch 站点,默认为 "https://hikari.obfs.dev"
hikarisearch_max_results=xxx  # 最多返回的结果数量,默认为 3

在群聊中,当搜索结果数量>1时,结果以合并转发的形式发出

私聊时,搜索结果会逐个发出

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_hikarisearch-0.1.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

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