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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_imgexploration-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7563e2db8d7add2483ec7e534922b954d704ac1e87e1e7eb9ba9b13bf81d773
MD5 457e681179ff7f32cf33cea9f61fafd2
BLAKE2b-256 46dcf3e6bed394585aab7bdd8269309fd0a319b4489c96de6802a7a70a3247cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_imgexploration-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdfe7a900bc6732fc421fd7c4cc5f4caa43d3ca11ecfad9849cae02c34c0b4eb
MD5 78e8050f1ee4983870447742c99b58f6
BLAKE2b-256 ee0ffe5607c87484143c7e306655d26f7a0ccdc08e9593bb20a7d534311eb8e9

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