Nonebot本子下载
Project description
[!IMPORTANT] 收藏项目 ~⭐️
📖 介绍
可拓展,暂时只接入了JM,通过自建 docker API,API正在打包
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-hentai-downloader --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-hentai-downloader --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-hentai-downloader --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-hentai-downloader
安装仓库 master 分支
uv add git+https://github.com/padoru233/nonebot-plugin-hentai-downloader@master
pdm
pdm add nonebot-plugin-hentai-downloader
安装仓库 master 分支
pdm add git+https://github.com/padoru233/nonebot-plugin-hentai-downloader@master
poetry
poetry add nonebot-plugin-hentai-downloader
安装仓库 master 分支
poetry add git+https://github.com/padoru233/nonebot-plugin-hentai-downloader@master
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_hentai_downloader"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| jm_api_url | 是 | http://localhost:9080 | JM API 的地址 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 下载jm | 所有人 | 否 | 群聊/私聊 | 指令后+id,bot也可以询问 |
🎨 效果图
如果有效果图的话
🌹 鸣谢
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_hentai_downloader-0.2.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_hentai_downloader-0.2.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e23a799c9b8ea0d767b7b5281016ea7b7a5afa3f1c7f9e953ba5caa7ecc482
|
|
| MD5 |
d35e89f7c37d9590652027dbd72f8443
|
|
| BLAKE2b-256 |
93ac374548e47a9cf47d0212acb7c422f66dc2a32ffe658fb785834d5d636cd4
|
File details
Details for the file nonebot_plugin_hentai_downloader-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_hentai_downloader-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af1b8c6b8efb10c70b31283032550d63bb4c74e751039a6023a91924e10a0362
|
|
| MD5 |
82d71ddab791c2a1283e8a302c7c294c
|
|
| BLAKE2b-256 |
375038679b7dd70f5ae68d585dc2deb873218e8fe6c330e8a324b48ed418d12c
|