Skip to main content

Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图

Project description

nonebot_plugin_imgexploration

Google、Yandx和基于PicImageSearch的saucenao、ascii2d搜图
需要能稳定访问Google等网站的代理

一.安装

1.下载

nonebot_plugin_imgexploration文件夹放置于 bot根目录/plugins/
然后在bot.py中添加

nonebot.load_plugins('./plugins/')

或其他任意加载方式

2.依赖

pip install -r requirements.txt

需要go-cqhttp 频道支持适配补丁nonebot-plugin-guild-patch
https://github.com/mnixry/nonebot-plugin-guild-patch

需要字体

HarmonyOS_Sans_SC_Regular.ttf  
HarmonyOS_Sans_SC_Bold.ttf  
HarmonyOS_Sans_SC_Light.ttf

https://developer.harmonyos.com/cn/docs/design/des-guides/font-0000001157868583

二.配置

1.env中的配置

group_on=[123456,321654]  #开启搜图功能的群号
guild_on=[123456789,987654321]  #开启搜图功能的频道号
sub_channel_on=[1234568,6543216]  #开启搜图功能的子频道号
blacklist=[11111111,2222222,333333]  #黑名单用户qq号
proxy_port=7890  #代理端口号
saucenao_apikey=xxxxx  #saucenao apikey

2.charge.json

在bot根目录新建charge.json文件并填入以下内容

  {
    "群号1": 功能可用次数, 
    "子频道号": 100,
    "例如22222": 899, 
  }

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_imgexploration-0.1.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_imgexploration-0.1.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_imgexploration-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2005f8f1a015dd77b2e4210152a7f015144ed994d171712da1defc6a1785f8b1
MD5 c76b3abf78797f80c7304da003183e9c
BLAKE2b-256 0e2f261737d637852b599bd3b9a5c997f4c8ff39fad7a771e0c1b184e4d319b1

See more details on using hashes here.

File details

Details for the file nonebot_plugin_imgexploration-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_imgexploration-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a6602322ff5e1306043d245aeb953b77c0bfc9f4f947059c30bd95df67bc8e3
MD5 79d67a4c40445aa0744964ea69970c3f
BLAKE2b-256 c60607baa5dee437ef86dad26be36e6b7c73dc33c434051445bad0c4090ce088

See more details on using hashes here.

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