<!-- markdownlint-disable MD031 MD033 MD036 MD041 MD045 -->
<div align="center">
<a href="https://v2.nonebot.dev/store">
<img src="https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo">
</a>
<p>
<img src="https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg" alt="NoneBotPluginText">
</p>
# YetAnotherPicSearch
_✨ 基于 [NoneBot2](https://github.com/nonebot/nonebot2) 与 [PicImageSearch](https://github.com/kitUIN/PicImageSearch) 的另一个 NoneBot 搜图插件 ✨_
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
<a href="https://pdm.fming.dev">
<img src="https://img.shields.io/badge/pdm-managed-blueviolet" alt="pdm-managed">
</a>
<br />
<a href="https://pydantic.dev">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/pyd-v1-or-v2.json" alt="Pydantic Version 1 Or 2" >
</a>
<a href="./LICENSE">
<img src="https://img.shields.io/github/license/lgc-NB2Dev/YetAnotherPicSearch.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/YetAnotherPicSearch">
<img src="https://img.shields.io/pypi/v/YetAnotherPicSearch.svg" alt="pypi">
</a>
<a href="https://pypi.python.org/pypi/YetAnotherPicSearch">
<img src="https://img.shields.io/pypi/dm/YetAnotherPicSearch" alt="pypi download">
</a>
<br />
<a href="https://registry.nonebot.dev/plugin/yetanotherpicsearch:YetAnotherPicSearch">
<img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin%2FYetAnotherPicSearch" alt="NoneBot Registry">
</a>
<a href="https://registry.nonebot.dev/plugin/yetanotherpicsearch:YetAnotherPicSearch">
<img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin-adapters%2FYetAnotherPicSearch" alt="Supported Adapters">
</a>
</div>
## 📖 介绍
主要受到 [cq-picsearcher-bot](https://github.com/Tsuk1ko/cq-picsearcher-bot) 的启发。我只需要基础的搜图功能,于是忍不住自己也写了一个,用来搜图、搜番、搜本子。
目前支持的搜图服务:
[Ascii2D](https://ascii2d.net/) | [Baidu](https://graph.baidu.com/) | [E-Hentai](https://e-hentai.org/) | [ExHentai](https://exhentai.org/) | [Google](https://www.google.com/imghp) | [Iqdb](https://iqdb.org/) | [SauceNAO](https://saucenao.com/) | [TraceMoe](https://trace.moe/) | [Yandex](https://yandex.com/images/search)
## 💿 安装
以下提到的方法 任选**其一** 即可
<details open>
<summary>[推荐] 使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
```bash
nb plugin install YetAnotherPicSearch
```
</details>
<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
<details>
<summary>pip</summary>
```bash
pip install YetAnotherPicSearch
```
</details>
<details>
<summary>pdm</summary>
```bash
pdm add YetAnotherPicSearch
```
</details>
<details>
<summary>poetry</summary>
```bash
poetry add YetAnotherPicSearch
```
</details>
<details>
<summary>conda</summary>
```bash
conda install YetAnotherPicSearch
```
</details>
打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分的 `plugins` 项里追加写入
```toml
[tool.nonebot]
plugins = [
# ...
"YetAnotherPicSearch"
]
```
</details>
## ⚙️ 配置
| 配置项 | 必填 | 默认值 | 说明 |
| :----------------------------: | :--------------------------: | :-------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| **通用配置** | | | |
| `PROXY` | 否 | `None` | 大部分请求所使用的代理地址,如需要 socks 协议支持请额外执行 `pip install YetAnotherPicSearch[socks]` 安装 |
| **数据源配置** | | | |
| `SAUCENAO_API_KEY` | $${\textsf{\color{red}是}}$$ | 无 | SauceNAO 的 API KEY,在 [这里](https://saucenao.com/user.php) 注册后到 [这里](https://saucenao.com/user.php?page=search-api) 获取<br />如果 SauceNAO 的 API 使用触发当日上限,请同时换新的 API Key 和代理节点,仅换其中一个没有意义。 |
| `ASCII2D_BASE_URL` | 否 | `https://ascii2d.net` | Ascii2D Base URL \([#139](https://github.com/lgc-NB2Dev/YetAnotherPicSearch/issues/139)\) |
| `EXHENTAI_COOKIES` | 否 | `None` | ExHentai 的 Cookies,没有的情况下自动改用 E-Hentai 搜图,获取方式参考 请参考 [PicImageSearch 文档](https://pic-image-search.kituin.fun/wiki/picimagesearch/E-hentai/DataStructure/#cookies%E8%8E%B7%E5%8F%96) |
| `NHENTAI_USERAGENT` | 否 | `None` | 用来绕过 NHentai Cloudflare 拦截的 User Agent,配置后在 E-Hentai 标题搜索无结果时会自动调用 NHentai 标题搜索<br />先用配置的 `PROXY` 做代理,使用浏览器访问 NHentai 通过 CloudFlare 检测后,获取 UA 和 Cookies 填到对应配置项 |
| `NHENTAI_COOKIES` | 否 | `None` | 用来绕过 NHentai Cloudflare 拦截的 Cookies,同上 |
| **行为配置** | | | |
| `SAUCENAO_LOW_ACC` | 否 | `60` | SauceNAO 相似度低于这个百分比将被认定为相似度过低 |
| `AUTO_USE_ASCII2D` | 否 | `True` | 是否在 SauceNAO 或 IQDB 相似度过低时 / E-Hentai 无结果时 自动使用 Ascii2D 搜索 |
| **交互配置** | | | |
| `SEARCH_KEYWORD` | 否 | `搜图` | 触发插件功能的指令名,使用时记得带上你配置的指令头 |
| `SEARCH_KEYWORD_ONLY` | 否 | `False` | 是否只响应指令消息(优先级高于 `SEARCH_IN_GROUP_ONLY_KEYWORD` 与 `SEARCH_IMMEDIATELY`) |
| `SEARCH_IN_GROUP_ONLY_KEYWORD` | 否 | `True` | 是否在群聊中只响应指令消息,否则可以通过 @Bot 触发搜图模式 |
| `SEARCH_IMMEDIATELY` | 否 | `True` | 私聊发送图片是否直接触发搜图,否则需要使用命令 |
| `WAIT_FOR_IMAGE_TIMEOUT` | 否 | `180` | 当用户未提供图片时,提示用户提供图片的等待时间(秒) |
| **消息配置** | | | |
| `HIDE_IMG` | 否 | `False` | 隐藏所有搜索结果的缩略图 |
| `HIDE_IMG_WHEN_LOW_ACC` | 否 | `True` | SauceNAO / IQDB 得到低相似度结果时隐藏结果缩略图 |
| `HIDE_IMG_WHEN_WHATANIME_R18` | 否 | `True` | WhatAnime 得到 R18 结果时隐藏结果缩略图 |
| `SAUCENAO_NSFW_HIDE_LEVEL` | 否 | `2` | 对 SauceNAO 的搜索结果进行 NSFW 判断的严格程度(依次递增),启用后自动隐藏相应的 NSFW 结果的缩略图<br />`0`:不判断, `1`:只判断明确的, `2`:包括可疑的, `3`:非明确为 SFW 的 |
| `FORWARD_SEARCH_RESULT` | 否 | `True` | 若结果消息有多条,是否采用合并转发方式发送搜图结果(平台不支持会自动回退) |
| `TO_CONFUSE_URLS` | 否 | ... | 要破坏处理的网址列表,减少风控概率(发出来的消息包含这些网址会在网址的 `://` 与 `.` 后加上空格) |
| **杂项配置** | | | |
| `CACHE_EXPIRE` | 否 | `3` | 消息缓存过期时间 (天) |
## 🎉 使用
使用你配置的指令(默认为 `搜图`)即可开始使用,附带或回复图片可直接触发搜图,可以一次性带多张图
更详细的使用方法请参考 [这里](https://github.com/lgc-NB2Dev/YetAnotherPicSearch/tree/main/docs/usage.md)
### 效果图
<p float="left">
<img src="docs/images/image01.jpg" width="32%" />
<img src="docs/images/image02.jpg" width="32%" />
<img src="docs/images/image03.jpg" width="32%" />
</p>
## 📞 联系
<!--
### NekoAria
暂无
-->
### student_2333
QQ:3076823485
Telegram:[@lgc2333](https://t.me/lgc2333)
吹水群:[1105946125](https://jq.qq.com/?_wv=1027&k=Z3n1MpEp)
邮箱:<lgc2333@126.com>
## 💡 鸣谢
- [cq-picsearcher-bot](https://github.com/Tsuk1ko/cq-picsearcher-bot)
- [PicImageSearch](https://github.com/kitUIN/PicImageSearch)
- [NoneBot2](https://github.com/nonebot/nonebot2)
- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp)
## 💰 赞助
**[赞助我](https://blog.lgc2333.top/donate)**
感谢大家的赞助!你们的赞助将是我继续创作的动力!
## ⭐ Star History
[![Star History](https://starchart.cc/lgc-NB2Dev/YetAnotherPicSearch.svg)](https://starchart.cc/lgc-NB2Dev/YetAnotherPicSearch)
## 📝 更新日志
### 2.0.2
- 添加配置项用于自定义 Ascii2D 的 Base URL
### 2.0.1
- 修复 [#137](https://github.com/lgc-NB2Dev/YetAnotherPicSearch/issues/137)
- 修复文本重复的问题
- 修复 ExHentai 始终显示无法使用的问题
- 修复缓存消息显示问题
- 添加缺失依赖
### 2.0.0
项目重构:
- 使用 alconna 支持多平台,重构消息缓存
- 将之前的 `搜图关键词` 改为指令;同时由于不方便判断是否回复的是 Bot 自身消息,所以阉掉了这个
- 其他细节更改
- 配置变动:
- 新增 `SEARCH_IN_GROUP_ONLY_KEYWORD`
- 新增 `WAIT_FOR_IMAGE_TIMEOUT`
以前的更新日志请在 Releases 中查看
Raw data
{
"_id": null,
"home_page": "https://github.com/lgc-NB2Dev/YetAnotherPicSearch",
"name": "YetAnotherPicSearch",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.9",
"maintainer_email": null,
"keywords": "nonebot, ascii2d, baidu, e-hentai, google, iqdb, saucenao, tracemoe, yandex, anime, danbooru, doujin, pixiv",
"author": "NekoAria",
"author_email": "student_2333 <lgc2333@126.com>",
"download_url": "https://files.pythonhosted.org/packages/37/ca/d7045ae53fa49f9016fbca35000a7739b58922f4918f637bf5bf4677a384/yetanotherpicsearch-2.0.2.tar.gz",
"platform": null,
"description": "<!-- markdownlint-disable MD031 MD033 MD036 MD041 MD045 -->\n\n<div align=\"center\">\n\n<a href=\"https://v2.nonebot.dev/store\">\n <img src=\"https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\">\n</a>\n\n<p>\n <img src=\"https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg\" alt=\"NoneBotPluginText\">\n</p>\n\n# YetAnotherPicSearch\n\n_\u2728 \u57fa\u4e8e [NoneBot2](https://github.com/nonebot/nonebot2) \u4e0e [PicImageSearch](https://github.com/kitUIN/PicImageSearch) \u7684\u53e6\u4e00\u4e2a NoneBot \u641c\u56fe\u63d2\u4ef6 \u2728_\n\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n<a href=\"https://pdm.fming.dev\">\n <img src=\"https://img.shields.io/badge/pdm-managed-blueviolet\" alt=\"pdm-managed\">\n</a>\n\n<br />\n\n<a href=\"https://pydantic.dev\">\n <img src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/pyd-v1-or-v2.json\" alt=\"Pydantic Version 1 Or 2\" >\n</a>\n<a href=\"./LICENSE\">\n <img src=\"https://img.shields.io/github/license/lgc-NB2Dev/YetAnotherPicSearch.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/YetAnotherPicSearch\">\n <img src=\"https://img.shields.io/pypi/v/YetAnotherPicSearch.svg\" alt=\"pypi\">\n</a>\n<a href=\"https://pypi.python.org/pypi/YetAnotherPicSearch\">\n <img src=\"https://img.shields.io/pypi/dm/YetAnotherPicSearch\" alt=\"pypi download\">\n</a>\n\n<br />\n\n<a href=\"https://registry.nonebot.dev/plugin/yetanotherpicsearch:YetAnotherPicSearch\">\n <img src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin%2FYetAnotherPicSearch\" alt=\"NoneBot Registry\">\n</a>\n<a href=\"https://registry.nonebot.dev/plugin/yetanotherpicsearch:YetAnotherPicSearch\">\n <img src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin-adapters%2FYetAnotherPicSearch\" alt=\"Supported Adapters\">\n</a>\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u4e3b\u8981\u53d7\u5230 [cq-picsearcher-bot](https://github.com/Tsuk1ko/cq-picsearcher-bot) \u7684\u542f\u53d1\u3002\u6211\u53ea\u9700\u8981\u57fa\u7840\u7684\u641c\u56fe\u529f\u80fd\uff0c\u4e8e\u662f\u5fcd\u4e0d\u4f4f\u81ea\u5df1\u4e5f\u5199\u4e86\u4e00\u4e2a\uff0c\u7528\u6765\u641c\u56fe\u3001\u641c\u756a\u3001\u641c\u672c\u5b50\u3002\n\n\u76ee\u524d\u652f\u6301\u7684\u641c\u56fe\u670d\u52a1\uff1a \n[Ascii2D](https://ascii2d.net/) | [Baidu](https://graph.baidu.com/) | [E-Hentai](https://e-hentai.org/) | [ExHentai](https://exhentai.org/) | [Google](https://www.google.com/imghp) | [Iqdb](https://iqdb.org/) | [SauceNAO](https://saucenao.com/) | [TraceMoe](https://trace.moe/) | [Yandex](https://yandex.com/images/search)\n\n## \ud83d\udcbf \u5b89\u88c5\n\n\u4ee5\u4e0b\u63d0\u5230\u7684\u65b9\u6cd5 \u4efb\u9009**\u5176\u4e00** \u5373\u53ef\n\n<details open>\n<summary>[\u63a8\u8350] \u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n```bash\nnb plugin install YetAnotherPicSearch\n```\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n```bash\npip install YetAnotherPicSearch\n```\n\n</details>\n<details>\n<summary>pdm</summary>\n\n```bash\npdm add YetAnotherPicSearch\n```\n\n</details>\n<details>\n<summary>poetry</summary>\n\n```bash\npoetry add YetAnotherPicSearch\n```\n\n</details>\n<details>\n<summary>conda</summary>\n\n```bash\nconda install YetAnotherPicSearch\n```\n\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u7684 `plugins` \u9879\u91cc\u8ffd\u52a0\u5199\u5165\n\n```toml\n[tool.nonebot]\nplugins = [\n # ...\n \"YetAnotherPicSearch\"\n]\n```\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n| \u914d\u7f6e\u9879 | \u5fc5\u586b | \u9ed8\u8ba4\u503c | \u8bf4\u660e |\n| :----------------------------: | :--------------------------: | :-------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |\n| **\u901a\u7528\u914d\u7f6e** | | | |\n| `PROXY` | \u5426 | `None` | \u5927\u90e8\u5206\u8bf7\u6c42\u6240\u4f7f\u7528\u7684\u4ee3\u7406\u5730\u5740\uff0c\u5982\u9700\u8981 socks \u534f\u8bae\u652f\u6301\u8bf7\u989d\u5916\u6267\u884c `pip install YetAnotherPicSearch[socks]` \u5b89\u88c5 |\n| **\u6570\u636e\u6e90\u914d\u7f6e** | | | |\n| `SAUCENAO_API_KEY` | $${\\textsf{\\color{red}\u662f}}$$ | \u65e0 | SauceNAO \u7684 API KEY\uff0c\u5728 [\u8fd9\u91cc](https://saucenao.com/user.php) \u6ce8\u518c\u540e\u5230 [\u8fd9\u91cc](https://saucenao.com/user.php?page=search-api) \u83b7\u53d6<br />\u5982\u679c SauceNAO \u7684 API \u4f7f\u7528\u89e6\u53d1\u5f53\u65e5\u4e0a\u9650\uff0c\u8bf7\u540c\u65f6\u6362\u65b0\u7684 API Key \u548c\u4ee3\u7406\u8282\u70b9\uff0c\u4ec5\u6362\u5176\u4e2d\u4e00\u4e2a\u6ca1\u6709\u610f\u4e49\u3002 |\n| `ASCII2D_BASE_URL` | \u5426 | `https://ascii2d.net` | Ascii2D Base URL \\([#139](https://github.com/lgc-NB2Dev/YetAnotherPicSearch/issues/139)\\) |\n| `EXHENTAI_COOKIES` | \u5426 | `None` | ExHentai \u7684 Cookies\uff0c\u6ca1\u6709\u7684\u60c5\u51b5\u4e0b\u81ea\u52a8\u6539\u7528 E-Hentai \u641c\u56fe\uff0c\u83b7\u53d6\u65b9\u5f0f\u53c2\u8003 \u8bf7\u53c2\u8003 [PicImageSearch \u6587\u6863](https://pic-image-search.kituin.fun/wiki/picimagesearch/E-hentai/DataStructure/#cookies%E8%8E%B7%E5%8F%96) |\n| `NHENTAI_USERAGENT` | \u5426 | `None` | \u7528\u6765\u7ed5\u8fc7 NHentai Cloudflare \u62e6\u622a\u7684 User Agent\uff0c\u914d\u7f6e\u540e\u5728 E-Hentai \u6807\u9898\u641c\u7d22\u65e0\u7ed3\u679c\u65f6\u4f1a\u81ea\u52a8\u8c03\u7528 NHentai \u6807\u9898\u641c\u7d22<br />\u5148\u7528\u914d\u7f6e\u7684 `PROXY` \u505a\u4ee3\u7406\uff0c\u4f7f\u7528\u6d4f\u89c8\u5668\u8bbf\u95ee NHentai \u901a\u8fc7 CloudFlare \u68c0\u6d4b\u540e\uff0c\u83b7\u53d6 UA \u548c Cookies \u586b\u5230\u5bf9\u5e94\u914d\u7f6e\u9879 |\n| `NHENTAI_COOKIES` | \u5426 | `None` | \u7528\u6765\u7ed5\u8fc7 NHentai Cloudflare \u62e6\u622a\u7684 Cookies\uff0c\u540c\u4e0a |\n| **\u884c\u4e3a\u914d\u7f6e** | | | |\n| `SAUCENAO_LOW_ACC` | \u5426 | `60` | SauceNAO \u76f8\u4f3c\u5ea6\u4f4e\u4e8e\u8fd9\u4e2a\u767e\u5206\u6bd4\u5c06\u88ab\u8ba4\u5b9a\u4e3a\u76f8\u4f3c\u5ea6\u8fc7\u4f4e |\n| `AUTO_USE_ASCII2D` | \u5426 | `True` | \u662f\u5426\u5728 SauceNAO \u6216 IQDB \u76f8\u4f3c\u5ea6\u8fc7\u4f4e\u65f6 / E-Hentai \u65e0\u7ed3\u679c\u65f6 \u81ea\u52a8\u4f7f\u7528 Ascii2D \u641c\u7d22 |\n| **\u4ea4\u4e92\u914d\u7f6e** | | | |\n| `SEARCH_KEYWORD` | \u5426 | `\u641c\u56fe` | \u89e6\u53d1\u63d2\u4ef6\u529f\u80fd\u7684\u6307\u4ee4\u540d\uff0c\u4f7f\u7528\u65f6\u8bb0\u5f97\u5e26\u4e0a\u4f60\u914d\u7f6e\u7684\u6307\u4ee4\u5934 |\n| `SEARCH_KEYWORD_ONLY` | \u5426 | `False` | \u662f\u5426\u53ea\u54cd\u5e94\u6307\u4ee4\u6d88\u606f\uff08\u4f18\u5148\u7ea7\u9ad8\u4e8e `SEARCH_IN_GROUP_ONLY_KEYWORD` \u4e0e `SEARCH_IMMEDIATELY`\uff09 |\n| `SEARCH_IN_GROUP_ONLY_KEYWORD` | \u5426 | `True` | \u662f\u5426\u5728\u7fa4\u804a\u4e2d\u53ea\u54cd\u5e94\u6307\u4ee4\u6d88\u606f\uff0c\u5426\u5219\u53ef\u4ee5\u901a\u8fc7 @Bot \u89e6\u53d1\u641c\u56fe\u6a21\u5f0f |\n| `SEARCH_IMMEDIATELY` | \u5426 | `True` | \u79c1\u804a\u53d1\u9001\u56fe\u7247\u662f\u5426\u76f4\u63a5\u89e6\u53d1\u641c\u56fe\uff0c\u5426\u5219\u9700\u8981\u4f7f\u7528\u547d\u4ee4 |\n| `WAIT_FOR_IMAGE_TIMEOUT` | \u5426 | `180` | \u5f53\u7528\u6237\u672a\u63d0\u4f9b\u56fe\u7247\u65f6\uff0c\u63d0\u793a\u7528\u6237\u63d0\u4f9b\u56fe\u7247\u7684\u7b49\u5f85\u65f6\u95f4\uff08\u79d2\uff09 |\n| **\u6d88\u606f\u914d\u7f6e** | | | |\n| `HIDE_IMG` | \u5426 | `False` | \u9690\u85cf\u6240\u6709\u641c\u7d22\u7ed3\u679c\u7684\u7f29\u7565\u56fe |\n| `HIDE_IMG_WHEN_LOW_ACC` | \u5426 | `True` | SauceNAO / IQDB \u5f97\u5230\u4f4e\u76f8\u4f3c\u5ea6\u7ed3\u679c\u65f6\u9690\u85cf\u7ed3\u679c\u7f29\u7565\u56fe |\n| `HIDE_IMG_WHEN_WHATANIME_R18` | \u5426 | `True` | WhatAnime \u5f97\u5230 R18 \u7ed3\u679c\u65f6\u9690\u85cf\u7ed3\u679c\u7f29\u7565\u56fe |\n| `SAUCENAO_NSFW_HIDE_LEVEL` | \u5426 | `2` | \u5bf9 SauceNAO \u7684\u641c\u7d22\u7ed3\u679c\u8fdb\u884c NSFW \u5224\u65ad\u7684\u4e25\u683c\u7a0b\u5ea6\uff08\u4f9d\u6b21\u9012\u589e\uff09\uff0c\u542f\u7528\u540e\u81ea\u52a8\u9690\u85cf\u76f8\u5e94\u7684 NSFW \u7ed3\u679c\u7684\u7f29\u7565\u56fe<br />`0`\uff1a\u4e0d\u5224\u65ad\uff0c `1`\uff1a\u53ea\u5224\u65ad\u660e\u786e\u7684\uff0c `2`\uff1a\u5305\u62ec\u53ef\u7591\u7684\uff0c `3`\uff1a\u975e\u660e\u786e\u4e3a SFW \u7684 |\n| `FORWARD_SEARCH_RESULT` | \u5426 | `True` | \u82e5\u7ed3\u679c\u6d88\u606f\u6709\u591a\u6761\uff0c\u662f\u5426\u91c7\u7528\u5408\u5e76\u8f6c\u53d1\u65b9\u5f0f\u53d1\u9001\u641c\u56fe\u7ed3\u679c\uff08\u5e73\u53f0\u4e0d\u652f\u6301\u4f1a\u81ea\u52a8\u56de\u9000\uff09 |\n| `TO_CONFUSE_URLS` | \u5426 | ... | \u8981\u7834\u574f\u5904\u7406\u7684\u7f51\u5740\u5217\u8868\uff0c\u51cf\u5c11\u98ce\u63a7\u6982\u7387\uff08\u53d1\u51fa\u6765\u7684\u6d88\u606f\u5305\u542b\u8fd9\u4e9b\u7f51\u5740\u4f1a\u5728\u7f51\u5740\u7684 `://` \u4e0e `.` \u540e\u52a0\u4e0a\u7a7a\u683c\uff09 |\n| **\u6742\u9879\u914d\u7f6e** | | | |\n| `CACHE_EXPIRE` | \u5426 | `3` | \u6d88\u606f\u7f13\u5b58\u8fc7\u671f\u65f6\u95f4 (\u5929) |\n\n## \ud83c\udf89 \u4f7f\u7528\n\n\u4f7f\u7528\u4f60\u914d\u7f6e\u7684\u6307\u4ee4\uff08\u9ed8\u8ba4\u4e3a `\u641c\u56fe`\uff09\u5373\u53ef\u5f00\u59cb\u4f7f\u7528\uff0c\u9644\u5e26\u6216\u56de\u590d\u56fe\u7247\u53ef\u76f4\u63a5\u89e6\u53d1\u641c\u56fe\uff0c\u53ef\u4ee5\u4e00\u6b21\u6027\u5e26\u591a\u5f20\u56fe \n\u66f4\u8be6\u7ec6\u7684\u4f7f\u7528\u65b9\u6cd5\u8bf7\u53c2\u8003 [\u8fd9\u91cc](https://github.com/lgc-NB2Dev/YetAnotherPicSearch/tree/main/docs/usage.md)\n\n### \u6548\u679c\u56fe\n\n<p float=\"left\">\n <img src=\"docs/images/image01.jpg\" width=\"32%\" />\n <img src=\"docs/images/image02.jpg\" width=\"32%\" />\n <img src=\"docs/images/image03.jpg\" width=\"32%\" />\n</p>\n\n## \ud83d\udcde \u8054\u7cfb\n\n<!--\n### NekoAria\n\n\u6682\u65e0\n-->\n\n### student_2333\n\nQQ\uff1a3076823485 \nTelegram\uff1a[@lgc2333](https://t.me/lgc2333) \n\u5439\u6c34\u7fa4\uff1a[1105946125](https://jq.qq.com/?_wv=1027&k=Z3n1MpEp) \n\u90ae\u7bb1\uff1a<lgc2333@126.com>\n\n## \ud83d\udca1 \u9e23\u8c22\n\n- [cq-picsearcher-bot](https://github.com/Tsuk1ko/cq-picsearcher-bot)\n- [PicImageSearch](https://github.com/kitUIN/PicImageSearch)\n- [NoneBot2](https://github.com/nonebot/nonebot2)\n- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp)\n\n## \ud83d\udcb0 \u8d5e\u52a9\n\n**[\u8d5e\u52a9\u6211](https://blog.lgc2333.top/donate)**\n\n\u611f\u8c22\u5927\u5bb6\u7684\u8d5e\u52a9\uff01\u4f60\u4eec\u7684\u8d5e\u52a9\u5c06\u662f\u6211\u7ee7\u7eed\u521b\u4f5c\u7684\u52a8\u529b\uff01\n\n## \u2b50 Star History\n\n[![Star History](https://starchart.cc/lgc-NB2Dev/YetAnotherPicSearch.svg)](https://starchart.cc/lgc-NB2Dev/YetAnotherPicSearch)\n\n## \ud83d\udcdd \u66f4\u65b0\u65e5\u5fd7\n\n### 2.0.2\n\n- \u6dfb\u52a0\u914d\u7f6e\u9879\u7528\u4e8e\u81ea\u5b9a\u4e49 Ascii2D \u7684 Base URL\n\n### 2.0.1\n\n- \u4fee\u590d [#137](https://github.com/lgc-NB2Dev/YetAnotherPicSearch/issues/137)\n - \u4fee\u590d\u6587\u672c\u91cd\u590d\u7684\u95ee\u9898\n - \u4fee\u590d ExHentai \u59cb\u7ec8\u663e\u793a\u65e0\u6cd5\u4f7f\u7528\u7684\u95ee\u9898\n- \u4fee\u590d\u7f13\u5b58\u6d88\u606f\u663e\u793a\u95ee\u9898\n- \u6dfb\u52a0\u7f3a\u5931\u4f9d\u8d56\n\n### 2.0.0\n\n\u9879\u76ee\u91cd\u6784\uff1a\n\n- \u4f7f\u7528 alconna \u652f\u6301\u591a\u5e73\u53f0\uff0c\u91cd\u6784\u6d88\u606f\u7f13\u5b58\n- \u5c06\u4e4b\u524d\u7684 `\u641c\u56fe\u5173\u952e\u8bcd` \u6539\u4e3a\u6307\u4ee4\uff1b\u540c\u65f6\u7531\u4e8e\u4e0d\u65b9\u4fbf\u5224\u65ad\u662f\u5426\u56de\u590d\u7684\u662f Bot \u81ea\u8eab\u6d88\u606f\uff0c\u6240\u4ee5\u9609\u6389\u4e86\u8fd9\u4e2a\n- \u5176\u4ed6\u7ec6\u8282\u66f4\u6539\n- \u914d\u7f6e\u53d8\u52a8\uff1a\n - \u65b0\u589e `SEARCH_IN_GROUP_ONLY_KEYWORD`\n - \u65b0\u589e `WAIT_FOR_IMAGE_TIMEOUT`\n\n\u4ee5\u524d\u7684\u66f4\u65b0\u65e5\u5fd7\u8bf7\u5728 Releases \u4e2d\u67e5\u770b\n",
"bugtrack_url": null,
"license": "GPL-3.0-only",
"summary": "Yet Another Picture Search Nonebot Plugin",
"version": "2.0.2",
"project_urls": {
"Homepage": "https://github.com/lgc-NB2Dev/YetAnotherPicSearch",
"Repository": "https://github.com/lgc-NB2Dev/YetAnotherPicSearch"
},
"split_keywords": [
"nonebot",
" ascii2d",
" baidu",
" e-hentai",
" google",
" iqdb",
" saucenao",
" tracemoe",
" yandex",
" anime",
" danbooru",
" doujin",
" pixiv"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "09788e494e031e471a48a7e11f3e710c4a82cf255936bce0ace95cea22569c34",
"md5": "5cef8d33cafaf9ca22fe42a35dcc3ea7",
"sha256": "aae0fa24760ba59b34583eb9220c8f63e6ded500d3e259809234757b3dea6c84"
},
"downloads": -1,
"filename": "yetanotherpicsearch-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5cef8d33cafaf9ca22fe42a35dcc3ea7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.9",
"size": 460712,
"upload_time": "2024-09-16T07:31:37",
"upload_time_iso_8601": "2024-09-16T07:31:37.828148Z",
"url": "https://files.pythonhosted.org/packages/09/78/8e494e031e471a48a7e11f3e710c4a82cf255936bce0ace95cea22569c34/yetanotherpicsearch-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "37cad7045ae53fa49f9016fbca35000a7739b58922f4918f637bf5bf4677a384",
"md5": "1effa5b46cdb111013a1cc58dea8b03a",
"sha256": "b9688619d3bb052021149b3a13c877060a45aab344fbbf02ae1d7804ef3b3164"
},
"downloads": -1,
"filename": "yetanotherpicsearch-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "1effa5b46cdb111013a1cc58dea8b03a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.9",
"size": 457078,
"upload_time": "2024-09-16T07:31:39",
"upload_time_iso_8601": "2024-09-16T07:31:39.543330Z",
"url": "https://files.pythonhosted.org/packages/37/ca/d7045ae53fa49f9016fbca35000a7739b58922f4918f637bf5bf4677a384/yetanotherpicsearch-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-16 07:31:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lgc-NB2Dev",
"github_project": "YetAnotherPicSearch",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "yetanotherpicsearch"
}