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.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61022b85fa15b12e70fcb441be20ab5620451ee6ead8abd375ca6a35b7f71ad8 |
|
MD5 | 61e1131e655b4a01d5fdb7e027ff9bb8 |
|
BLAKE2b-256 | 79447c81c3738f2b02a3139cba701f2978631b02af77d3ece3434dcce7b4b159 |
Close
Hashes for nonebot_plugin_pixiv-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d473f4c74730a8726491289656fccb600ad93d6ac4ed9437526cfedc2ba356e |
|
MD5 | 6ea5b365fe1ea2dddb123babc4b85e06 |
|
BLAKE2b-256 | db26f337e5ac7face0efc93a8420a8072751431547cfda2737fa4b655c984948 |