Skip to main content

Nonebot本子下载

Project description

✨ Nonebot2 本子下载插件 ✨

license pypi python ruff uv

[!IMPORTANT] 收藏项目 ~⭐️

starify

📖 介绍

可拓展,暂时只接入了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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_hentai_downloader-0.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_hentai_downloader-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_hentai_downloader-0.2.0.tar.gz
Algorithm Hash digest
SHA256 10e23a799c9b8ea0d767b7b5281016ea7b7a5afa3f1c7f9e953ba5caa7ecc482
MD5 d35e89f7c37d9590652027dbd72f8443
BLAKE2b-256 93ac374548e47a9cf47d0212acb7c422f66dc2a32ffe658fb785834d5d636cd4

See more details on using hashes here.

File details

Details for the file nonebot_plugin_hentai_downloader-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_hentai_downloader-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af1b8c6b8efb10c70b31283032550d63bb4c74e751039a6023a91924e10a0362
MD5 82d71ddab791c2a1283e8a302c7c294c
BLAKE2b-256 375038679b7dd70f5ae68d585dc2deb873218e8fe6c330e8a324b48ed418d12c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page