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
分别是:
1.保存图片的根目录
2.http代理地址
3.ffmpeg地址(不配置这个不支持动图)
4.你的p站的cookies (不配置不支持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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c3248db282d54e56350b5947ae70f0a51f7e3c968cd105b68213ff8b042466 |
|
MD5 | b932fae7f3f2ae1bfef97c0217dadbb2 |
|
BLAKE2b-256 | 6fe07ff37db7d06d15a4a8465138a79699a5f5572ffb7382d9145a1525ecfdde |
Close
Hashes for nonebot_plugin_pixiv-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e206a1c9bb44c3f9e74b2f6d56b7ba41179a462fc2e67ec47ef2ccffbafc431 |
|
MD5 | 49f3fcda6462185c1470eab0faefd04b |
|
BLAKE2b-256 | cc83c108db1b3ee0d7d4a3b0f516dc37ed6bbc8a8b974d1ee335a0a58f8e1481 |