📖 介绍
qbittorrent管理器,可以远程管理qb下载内容
跨平台
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-qbittorrent-manager
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-qbittorrent-manager
pdm
pdm add nonebot-plugin-qbittorrent-manager
poetry
poetry add nonebot-plugin-qbittorrent-manager
conda
conda install nonebot-plugin-qbittorrent-manager
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_qbittorrent_manager"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 | 示例 |
|---|---|---|---|---|
| qbm_url | 是 | 无 | qb的url | "http://127.0.0.1:8080" |
| qbm_username | 是 | 无 | 用户名称 | "username" |
| qbm_password | 是 | 无 | 用户密码 | "password" |
| qbm_enable_user | 否 | [] | 有使用权限的用户,默认响应所有用户的操作 | ["12345"] |
| qbm_send_text | 否 | false | 禁用绘图,只发送文本 | true |
本插件使用了nonebot-plugin-localstore存储文件。
如有需要修改存储位置,请参考 localstore文档
🎉 使用
指令表
- ✅: 支持
- 🚧: 部分支持或正在完善
- 🗓️️: 计划中
- ✖️: 不支持/无计划
| 指令 | 说明 | 需要at | 功能实现 | 图形界面 |
|---|---|---|---|---|
| qb帮助 | 指令列表 | 是 | ✅ | 🗓️ |
| qb下载 | 下载文件 | 是 | ✅️ | ✖️ |
| qb列表 | 目前的任务列表 | 是 | ✅️ | ✅️ |
| qb删除 | 删除指定任务 | 是 | ✅️ | ✖️ |
| qb完全删除 | 删除指定任务以及已下载的文件 | 是 | ✅️ | ✖️ |
| qb修改 | 修改分类、文件夹、添加标签 | 是 | ✅️ | ✖️ |
| qb状态 | qb软件的运行状态 | 是 | 🗓️ | 🗓️ |
| qb登陆 | 在凭证过期后手动登陆 | 是 | ✅️ | ✖️ |
| qb标签列表 | 标签列表 | 是 | 🗓️ | 🗓️ |
| qb分类列表 | 分类列表 | 是 | 🗓️ | 🗓️ |
| qbrss订阅 | 分类列表 | 是 | 🗓️ | 🗓️ |
说明
qb下载、qb列表、qb删除、qb修改 可带参数执行
可选参数:
tag, t: 标签
savepath, path, p: 下载的路径
category, c: 分类
state:
/qb下载 -tag 视频 xxx # 将url的内容下载并添加tag[视频]
效果图
[假装有图片.jpg]
⭐
Metadata
Release files for nonebot-plugin-qbittorrent-manager 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_qbittorrent_manager-1.1.5.tar.gz | 17.2 kB | Without provenance | Details for nonebot_plugin_qbittorrent_manager-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_qbittorrent_manager-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_qbittorrent_manager-1.1.5-py3-none-any.whl |
Total release size: 36.5 kB
Release files / nonebot_plugin_qbittorrent_manager-1.1.5.tar.gz
| Download URL | nonebot_plugin_qbittorrent_manager-1.1.5.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1559a51e7c41ffcd135aa839451fd06b830558eef9946ac6d12f407e518a97a0
|
|
BLAKE2b-256 checksum How to use checksums |
42847e18371f9177e744fa2e0f2d2d13975e7cdf1fb3fbc0085f12b25263191c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / nonebot_plugin_qbittorrent_manager-1.1.5-py3-none-any.whl
| Download URL | nonebot_plugin_qbittorrent_manager-1.1.5-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7517cbff26734cf19a471fee9d6813fc57cb557c0a99e12e889a624fc84ef2d1
|
|
BLAKE2b-256 checksum How to use checksums |
d8e7f110b95af7fb25b56b63bad710081f626b743c183ed258b0dee4288ddf17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for nonebot-plugin-qbittorrent-manager 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.