Skip to main content

✨ Nonebot2 本子下载插件 ✨

license pypi python ruff uv

[!IMPORTANT] 收藏项目 ~⭐️

starify

📖 介绍

  • 可拓展,暂时只接入了JM,自建 JM WEB API 可上传加密压缩包/PDF
  • 接入PICA WIP

💿 安装

使用 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会询问下载方式

🎨 效果图

如果有效果图的话

🌹 鸣谢

Metadata

Release files for nonebot-plugin-hentai-downloader 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-hentai-downloader 0.2.1
File Size Uploaded
nonebot_plugin_hentai_downloader-0.2.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-hentai-downloader 0.2.1
File Interpreter ABI Platform
nonebot_plugin_hentai_downloader-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / nonebot_plugin_hentai_downloader-0.2.1.tar.gz

Download URL nonebot_plugin_hentai_downloader-0.2.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fbf8f175c41765272a2c2fb3d4cdc0b13289486c2522c46b2c618d90d9125949
BLAKE2b-256 checksum
How to use checksums
e49badd8dc2a025aaf19928743d6e7c8aa462e8b5fe1eb0b2e17f770ada847e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / nonebot_plugin_hentai_downloader-0.2.1-py3-none-any.whl

Download URL nonebot_plugin_hentai_downloader-0.2.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f74f3aa4a4c52ca3151f004b5c14a52fcece2c8775cbdde4525e5f3682bc0ea3
BLAKE2b-256 checksum
How to use checksums
b5a72573879c80d2a6ebdfc5dee32feeabdd47d1e97d30d0ce708f0a6203a168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page