pixiv.net 查询图片,支持动图和多图
Project description
nonebot_plugin_pixiv
✨ NoneBot pixiv.net查询图片插件(支持多图和动图) ✨
使用方式
pixiv pid
例如:
pixiv 233
pixiv 1000
pixivRank 1 日榜
pixivRank 7 周榜
pixivRank 30 月榜
直接发这种连接也能直接识别发送图片
https://www.pixiv.net/artworks/(\d+)|illust_id=(\d+)
配置
一共有四个配置项目
IMGROOT=/root/
AIOHTTP=http://127.0.0.1:1081
FFMPEG=/usr/bin/ffmpeg
PIXIV_COOKIES=xxx
PIXIV_R18=True
分别是:
1.保存图片的根目录
2.http代理地址
3.ffmpeg地址(不配置这个不支持动图)
4.你的p站的cookies (不配置不支持R18)
5.是否支持R18 (默认支持)
安装
pip install nonebot-plugin-pixiv
使用
nonebot.load_plugin('nonebot_plugin_pixiv')
已适配nonebot beta版本
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_pixiv-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3152078dd9626d1f05e6ca1c6240a73bf4f76a7f72cfba02fa90f241a565dd77 |
|
MD5 | 33c13bb10b1491d2e2d36537c7b91146 |
|
BLAKE2b-256 | 1a4587b747b5f88250de1ee31b547e75a8b76af5fa034f5bcc51d7aae3ef152b |
Close
Hashes for nonebot_plugin_pixiv-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7069a4a8fb66a7a1acae44f3d78f3bb01156ce80b8ad0d23a7267a2d149600db |
|
MD5 | 03d540892f051a99418dca313fe5592f |
|
BLAKE2b-256 | 4232ffb27c3be6a1670a8c4a11e21ba3ed912dca56f19d4f5d15fa214fe1d9c4 |