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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257c820d5de1aafa77d6efa0a0baa387b75788171711218eda1f03929f910d49 |
|
MD5 | d81f0e930822e9d61de43cc47f8e718e |
|
BLAKE2b-256 | 75a09c28fa3787c3ebb890e27b0d5356ec446b60877ffea6cd94e22b4ee8a3ae |
Close
Hashes for nonebot_plugin_pixiv-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eddee47eeba586bf7f9d26e60deca88a8b6e4cc9eeb71193c41625ffea2b7083 |
|
MD5 | e715c65ef03e50771eb45bf2edb4906c |
|
BLAKE2b-256 | 7ff28eb2043a00ad2297bac785026c16c02eaa1170facf4380b88fd479eb3cfb |