Skip to main content

基于OneBot适配器的NoneBot2从Pixiv爬图的插件

Project description

nonebot

Nonebot_Plugin_RePixivSearcher

✨ 基于OneBot适配器的NoneBot2从Pixiv爬图的插件 ✨

目前支持的功能

  • 搜索标签
  • 随机图

安装

  • 源码
  • 使用pip
pip install nonebot_plugin_RePixivSearcher

帮助

(需要在命令前添加命令前缀)
搜 + 任意tag ——> 搜索此tag下的所有图,有可能没有此图
random ——> 随机一张图(压缩)
画师 + ID(必须是纯数字) ——> 搜索画师信息
(需要在群里@机器人才能使用的指令,依然需要命令前缀)
login ——> 登录Pixivic(不登陆也行,但是图库量没这么大)

注意

登陆之前请先修改account.json里的内容(开启机器人会自动生成在/data/PixivSearcher/内)

更新日志:

2022/10/29 新增搜索画师功能,添加了一个新的接口用来构建转发信息,详见MessageSegment_.py,可以用于其他地方

2022/10/6 新增Pixivic接口API,但是需要手动设置account.json登录

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_RePixivSearcher-1.3.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_RePixivSearcher-1.3.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_RePixivSearcher-1.3.0.tar.gz
Algorithm Hash digest
SHA256 e5bbfb7884bf3d5da5ebc4c44d5532a80fee6238413671e1b8d170017fb4a41c
MD5 6c5b61aa3922d76f3479ca379289cb91
BLAKE2b-256 a75e716ba264ac20ad8be74e9c033d7819e8a61a6fcd7bd212329cc96177cd29

See more details on using hashes here.

File details

Details for the file nonebot_plugin_RePixivSearcher-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_RePixivSearcher-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15b971f95039eba73f3dc53b7c221c4e8f5a42829bc1dee285980b2eda1d56f1
MD5 9fd42fa6096054231ee5c07be93a108f
BLAKE2b-256 d8fb32dba6e07434f525b6fd066051449d65c90bc37b3c13148264fbec6c5a7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page