Skip to main content

真寻PIX图库

Project description

NoneBotPluginText

nonebot-plugin-zxpix

✨ 基于 NoneBot2 的一个插件 ✨

python nonebot onebot license

📖 介绍

🎉 这是一个公开的图库API,希望大家一起维护,看看你的xp(bushi 🎉

小真寻会将你的xp分享给其他人!
通过提交的 PID, UID, 关键词 来收录图片
为保证质量, UID关键词 收录只会保存收藏数大于 450 的图片

[!NOTE]

小真寻也很可爱呀,也会很喜欢你!

💿 安装

pip install nonebot-plugin-zxpix
nb plugin install nonebot-plugin-zxpix

💿 配置

配置 类型 默认值 说明
zxpix_api str http://pix.zhenxun.org zhenxun-pix-api地址
zxpix_image_size str large ["large", "medium", "original", "square_medium"]图片大小,当使用zxpix_nginx时无效
zxpix_timeout int 10 请求时长
zxpix_show_info bool true 显示图片的uid,pid,标题
zxpix_allow_group_r18 bool false 允许群组中使用-r参数
zxpix_system_proxy str None 系统代理
zxpix_max_once_num2forward int 0 多于该数量的图片时使用转发消息,0为不使用
zxpix_nginx str pixiv.re 反代地址
zxpix_image_to_bytes bool false 是否将图片转换为bytes发送

🎁 使用

pix ?*[tags] ?[-n 1]: 通过 tag 获取相似图片不含tag时随机抽取,
            -n表示数量, -r表示查看r18, -noai表示过滤ai
    示例pix 萝莉 白丝
    示例pix 萝莉 白丝 -n 10  10为数量

pix图库 ?[tags](使用空格分隔): 查看pix图库数量

pix添加 ['u', 'p', 'k'] [content]
        u: uid
        p: pid
        k: 关键词
    强烈强烈推荐使用 u(uid) 的方式保证质量
    示例:
        pix添加 u 123456789
        pix添加 p 123456789
        pix添加 k 真寻

❤ 感谢

  • 可爱的小真寻 Bot zhenxun_bot: 我谢我自己,桀桀桀

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_zxpix-0.1.2.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_zxpix-0.1.2-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_zxpix-0.1.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_zxpix-0.1.2.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for nonebot_plugin_zxpix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f07d84b1637006f5ab2b80192d9fa19a06c09c936f0056ce16e3a26e3d211de7
MD5 3c7f47198612457e02fc1c915ad664f7
BLAKE2b-256 64f6973f1ef1f07690825566519a1611f4af0d0285b3be65e7a3257e2103e7a0

See more details on using hashes here.

File details

Details for the file nonebot_plugin_zxpix-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_zxpix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1576f71eebc291b1308e0ff86f70c0269d435789a22d7ddfa2757c6395f74772
MD5 116e948fb7a469def1bf69212e421c35
BLAKE2b-256 d5ddd1876676f73224a986903401d78596fbaab2780a674b37855e3d4c558355

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