使用方式
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
BAN_PIXIV_R18=[]
分别是:
1.保存图片的根目录
2.http代理地址
3.ffmpeg地址(不配置这个不支持动图)
4.你的p站的cookies (不配置不支持R18)
5.是否支持R18 (默认支持)
6.如果PIXIV_R18为True的情况下,设置黑名单(群号)
PS: R18支持两种配置方式
PIXIV_R18=True # 为所有群启用R18
PIXIV_R18=False # 不启用R18
PIXIV_R18=["123", "456"] #只为群123 和 群456启用r18
安装
pip install nonebot-plugin-pixiv
使用
nonebot.load_plugin('nonebot_plugin_pixiv')
已适配nonebot beta版本
Metadata
Release files for nonebot-plugin-pixiv 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_pixiv-1.1.5.tar.gz | 6.0 kB | Without provenance | Details for nonebot_plugin_pixiv-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_pixiv-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_pixiv-1.1.5-py3-none-any.whl |
Total release size: 12.7 kB
Release files / nonebot_plugin_pixiv-1.1.5.tar.gz
| Download URL | nonebot_plugin_pixiv-1.1.5.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12e501a4dffba548736feb5cdf57e78044c889dc909493a47a89e68ea9fbb8c3
|
|
BLAKE2b-256 checksum How to use checksums |
ad039f6a74776b049a820eeed909ba053326cb42d9a94bf61a7ad31070d7d03c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / nonebot_plugin_pixiv-1.1.5-py3-none-any.whl
| Download URL | nonebot_plugin_pixiv-1.1.5-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a8c1df28ba53f1ff77c9fd09b32d0cb39ca1a01c34b0ea560655ca2cf988045
|
|
BLAKE2b-256 checksum How to use checksums |
914009a6a3ff4bd975867a6c93a7b6498fee8c26cb6d59c6b5a1b9aabdaf006c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Security for nonebot-plugin-pixiv 1.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.