Skip to main content

Nonebot2 本子下载

Project description

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

🎨 效果图

如果有效果图的话

🌹 鸣谢

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.1.tar.gz (6.8 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.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_hentai_downloader-0.2.1.tar.gz
Algorithm Hash digest
SHA256 fbf8f175c41765272a2c2fb3d4cdc0b13289486c2522c46b2c618d90d9125949
MD5 87cff0f6884da502048c3e0d73c75939
BLAKE2b-256 e49badd8dc2a025aaf19928743d6e7c8aa462e8b5fe1eb0b2e17f770ada847e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_hentai_downloader-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f74f3aa4a4c52ca3151f004b5c14a52fcece2c8775cbdde4525e5f3682bc0ea3
MD5 ad34282c7605148342c685db5e145c43
BLAKE2b-256 b5a72573879c80d2a6ebdfc5dee32feeabdd47d1e97d30d0ce708f0a6203a168

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