{"id":16217234,"url":"https://github.com/synodriver/nonebot_plugin_picsearcher","last_synced_at":"2025-04-30T14:11:39.819Z","repository":{"id":37920268,"uuid":"319339802","full_name":"synodriver/nonebot_plugin_picsearcher","owner":"synodriver","description":"pic search plugin for nonebot2","archived":false,"fork":false,"pushed_at":"2023-05-26T13:12:05.000Z","size":90,"stargazers_count":111,"open_issues_count":25,"forks_count":16,"subscribers_count":1,"default_branch":"beta1","last_synced_at":"2025-02-18T07:01:45.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/synodriver.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-07T14:09:42.000Z","updated_at":"2024-10-09T14:11:35.000Z","dependencies_parsed_at":"2024-11-09T18:03:01.844Z","dependency_job_id":"3e952907-5eb2-4943-9307-9d96d7ecea98","html_url":"https://github.com/synodriver/nonebot_plugin_picsearcher","commit_stats":{"total_commits":43,"total_committers":6,"mean_commits":7.166666666666667,"dds":0.5813953488372092,"last_synced_commit":"5957b8e13e0b8408c9816c6aec870cb504896da7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fnonebot_plugin_picsearcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fnonebot_plugin_picsearcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fnonebot_plugin_picsearcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Fnonebot_plugin_picsearcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synodriver","download_url":"https://codeload.github.com/synodriver/nonebot_plugin_picsearcher/tar.gz/refs/heads/beta1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240627961,"owners_count":19831599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T11:26:12.804Z","updated_at":"2025-02-25T08:14:42.895Z","avatar_url":"https://github.com/synodriver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nonebot_plugin_picsearcher\n[![pypi](https://img.shields.io/pypi/v/nonebot-plugin-picsearcher.svg)](https://pypi.org/project/nonebot_plugin_picsearcher/) \n![implementation](https://img.shields.io/pypi/implementation/nonebot-plugin-picsearcher)\n![wheel](https://img.shields.io/pypi/wheel/nonebot-plugin-picsearcher)\n![python](https://img.shields.io/pypi/pyversions/nonebot-plugin-picsearcher)\n[![license](https://img.shields.io/github/license/synodriver/nonebot_plugin_picsearcher.svg)](https://raw.githubusercontent.com/synodriver/nonebot_plugin_picsearcher/main/LICENSE)\n\n- 基于[nonebot2](https://github.com/nonebot/nonebot2)\n\n## 功能\n\n- 从各个接口查找色图来源,目前支持ascii2d exhentai iqdb saucenao trace.moe\n\n## 开始使用\n\n~~建议~~必须使用 pip\n\n- 通过 pip 从 [PyPI](https://pypi.org/project/nonebot_plugin_picsearcher/) 安装\n\n``` {.sourceCode .bash}\npip install nonebot-plugin-picsearcher\n```\n\n- 在 nonebot2 项目中设置 load_plugin()\n\n``` {.sourceCode .python}\nnonebot.load_plugin('nonebot_plugin_picsearcher')\n```\n\n- 参照下文在 nonebot2 项目的环境文件 .env.\\* 中添加配置项\n- 使用时at搜图即可\n\n## 配置项\n\n由于[exhentai](https://exhentai.org)的接口需要cookie~~以及fq~~，因此需要在配置文件\n中加入如下选项，没有设置COOKIE时会回退到eh~~有些loli本就搜不到了~~\n```\nEX_COOKIE=XXXXX\nPROXY=XXXX  # type: str e.g. PROXY=http://127.0.0.1:8889\nSEARCH_LIMIT=2  # 搜索结果数量限制 防刷屏\nRISK_CONTROL=true # 风控模式 启动后会使用合并转发 只有gocq有实现\nRECORD_PRIORITY=99 # 记录上一张图片matcher的优先级，与 上一张 命令有关\n```\n\n## 更新日志\n- v0.1.4\n    - 修复了formdata手动改库的问题，改为就地hook aiohttp\n    - yandex搜图\n  \n- v0.1.5rc1\n    - 加入可选的`search_limit`配置项，确认一次搜索的显示结果数量，默认`2`\n    - 加入可选的`proxy`选项\n\n- v0.1.6rc1\n    - 手残的代价（\n\n- v0.1.6rc2\n    - 支持nb2.beta1， 需要onebot adapter\n\n- v0.1.7\n    - 支持beta2\n\n- v0.1.11rc1\n    - 支持[animedb](https://ai.animedb.cn)\n\n## 下一阶段目标\n\n- Yandex? Maybe\n\n\n## 特别感谢\n\n- [Mrs4s / go-cqhttp](https://github.com/Mrs4s/go-cqhttp)\n- [nonebot / nonebot2](https://github.com/nonebot/nonebot2)\n\n## 优化建议\n\n可以来抓更多网站的接口or汇报bug or pr\n![](https://i.pixiv.cat/img-original/img/2019/08/07/00/13/37/76116742_p0.png \"呐呐呐,来pr的话~就给大哥哥透噢\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynodriver%2Fnonebot_plugin_picsearcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynodriver%2Fnonebot_plugin_picsearcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynodriver%2Fnonebot_plugin_picsearcher/lists"}