<div align="center">
<p><img src="/image/README/title.png" width="480" alt="NoneBotPluginText"></p>
</div>
<div align="center">
# nonebot-plugin-qbittorrent-manager
_✨ qbittorrent管理器 ✨_
<a href="./LICENSE">
<img src="https://img.shields.io/github/license/SuperGuGuGu/nonebot_plugin_qbittorrent_manager.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-qbittorrent-manager">
<img src="https://img.shields.io/pypi/v/nonebot-plugin-qbittorrent-manager.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python">
</div>
## 📖 介绍
qbittorrent管理器,可以远程管理qb下载内容
跨平台
## 💿 安装
<details open>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-qbittorrent-manager
</details>
<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
<details>
<summary>pip</summary>
pip install nonebot-plugin-qbittorrent-manager
</details>
<details>
<summary>pdm</summary>
pdm add nonebot-plugin-qbittorrent-manager
</details>
<details>
<summary>poetry</summary>
poetry add nonebot-plugin-qbittorrent-manager
</details>
<details>
<summary>conda</summary>
conda install nonebot-plugin-qbittorrent-manager
</details>
打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入
plugins = ["nonebot_plugin_qbittorrent_manager"]
</details>
## ⚙️ 配置
在 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文档](https://github.com/nonebot/plugin-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]
## ⭐
<p><img src="https://api.star-history.com/svg?repos=SuperGuGuGu/nonebot_plugin_qbittorrent_manager&type=Date" width="480" alt="NoneBotPluginText"></p>
Raw data
{
"_id": null,
"home_page": null,
"name": "nonebot-plugin-qbittorrent-manager",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "nonebot2, qbittorrent",
"author": "SuperGuGuGu",
"author_email": "from89917812@163.com",
"download_url": "https://files.pythonhosted.org/packages/17/cf/237fcdc6fb8428d87841c44dfea1a5b1cb536197c8f7ca8db6b01617a18e/nonebot_plugin_qbittorrent_manager-1.1.2.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <p><img src=\"/image/README/title.png\" width=\"480\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-qbittorrent-manager\n\n_\u2728 qbittorrent\u7ba1\u7406\u5668 \u2728_\n\n\n<a href=\"./LICENSE\">\n <img src=\"https://img.shields.io/github/license/SuperGuGuGu/nonebot_plugin_qbittorrent_manager.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-qbittorrent-manager\">\n <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-qbittorrent-manager.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.10+-blue.svg\" alt=\"python\">\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\nqbittorrent\u7ba1\u7406\u5668\uff0c\u53ef\u4ee5\u8fdc\u7a0b\u7ba1\u7406qb\u4e0b\u8f7d\u5185\u5bb9\n\n\u8de8\u5e73\u53f0\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details open>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n nb plugin install nonebot-plugin-qbittorrent-manager\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n pip install nonebot-plugin-qbittorrent-manager\n\n</details>\n<details>\n<summary>pdm</summary>\n\n pdm add nonebot-plugin-qbittorrent-manager\n\n</details>\n<details>\n<summary>poetry</summary>\n\n poetry add nonebot-plugin-qbittorrent-manager\n\n</details>\n<details>\n<summary>conda</summary>\n\n conda install nonebot-plugin-qbittorrent-manager\n\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n plugins = [\"nonebot_plugin_qbittorrent_manager\"]\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u5728 nonebot2 \u9879\u76ee\u7684`.env`\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e0b\u8868\u4e2d\u7684\u5fc5\u586b\u914d\u7f6e\n\n| \u914d\u7f6e\u9879 | \u5fc5\u586b | \u9ed8\u8ba4\u503c | \u8bf4\u660e | \u793a\u4f8b |\n|:---------------:|:--:|:-----:|:--------------------:|:-----------------------:|\n| qbm_url | \u662f | \u65e0 | qb\u7684url | \"http://127.0.0.1:8080\" |\n| qbm_username | \u662f | \u65e0 | \u7528\u6237\u540d\u79f0 | \"username\" |\n| qbm_password | \u662f | \u65e0 | \u7528\u6237\u5bc6\u7801 | \"password\" |\n| qbm_enable_user | \u5426 | [] | \u6709\u4f7f\u7528\u6743\u9650\u7684\u7528\u6237\uff0c\u9ed8\u8ba4\u54cd\u5e94\u6240\u6709\u7528\u6237\u7684\u64cd\u4f5c | [\"12345\"] |\n| qbm_send_text | \u5426 | false | \u7981\u7528\u7ed8\u56fe\uff0c\u53ea\u53d1\u9001\u6587\u672c | true |\n\n\u672c\u63d2\u4ef6\u4f7f\u7528\u4e86nonebot-plugin-localstore\u5b58\u50a8\u6587\u4ef6\u3002\n\n\u5982\u6709\u9700\u8981\u4fee\u6539\u5b58\u50a8\u4f4d\u7f6e\uff0c\u8bf7\u53c2\u8003 [localstore\u6587\u6863](https://github.com/nonebot/plugin-localstore)\n\n## \ud83c\udf89 \u4f7f\u7528\n\n### \u6307\u4ee4\u8868\n\n- \u2705: \u652f\u6301\n- \ud83d\udea7: \u90e8\u5206\u652f\u6301\u6216\u6b63\u5728\u5b8c\u5584\n- \ud83d\uddd3\ufe0f\ufe0f: \u8ba1\u5212\u4e2d\n- \u2716\ufe0f: \u4e0d\u652f\u6301/\u65e0\u8ba1\u5212\n\n| \u6307\u4ee4 | \u8bf4\u660e | \u9700\u8981at | \u529f\u80fd\u5b9e\u73b0 | \u56fe\u5f62\u754c\u9762 |\n|:-------:|:--------------:|:----:|:----:|:----:|\n| qb\u5e2e\u52a9 | \u6307\u4ee4\u5217\u8868 | \u662f | \u2705 | \ud83d\uddd3\ufe0f |\n| qb\u4e0b\u8f7d | \u4e0b\u8f7d\u6587\u4ef6 | \u662f | \u2705\ufe0f | \u2716\ufe0f |\n| qb\u5217\u8868 | \u76ee\u524d\u7684\u4efb\u52a1\u5217\u8868 | \u662f | \u2705\ufe0f | \u2705\ufe0f |\n| qb\u5220\u9664 | \u5220\u9664\u6307\u5b9a\u4efb\u52a1 | \u662f | \u2705\ufe0f | \u2716\ufe0f |\n| qb\u5b8c\u5168\u5220\u9664 | \u5220\u9664\u6307\u5b9a\u4efb\u52a1\u4ee5\u53ca\u5df2\u4e0b\u8f7d\u7684\u6587\u4ef6 | \u662f | \u2705\ufe0f | \u2716\ufe0f |\n| qb\u4fee\u6539 | \u4fee\u6539\u5206\u7c7b\u3001\u6587\u4ef6\u5939\u3001\u6dfb\u52a0\u6807\u7b7e | \u662f | \u2705\ufe0f | \u2716\ufe0f |\n| qb\u72b6\u6001 | qb\u8f6f\u4ef6\u7684\u8fd0\u884c\u72b6\u6001 | \u662f | \ud83d\uddd3\ufe0f | \ud83d\uddd3\ufe0f |\n| qb\u767b\u9646 | \u5728\u51ed\u8bc1\u8fc7\u671f\u540e\u624b\u52a8\u767b\u9646 | \u662f | \u2705\ufe0f | \u2716\ufe0f |\n| qb\u6807\u7b7e\u5217\u8868 | \u6807\u7b7e\u5217\u8868 | \u662f | \ud83d\uddd3\ufe0f | \ud83d\uddd3\ufe0f |\n| qb\u5206\u7c7b\u5217\u8868 | \u5206\u7c7b\u5217\u8868 | \u662f | \ud83d\uddd3\ufe0f | \ud83d\uddd3\ufe0f |\n| qbrss\u8ba2\u9605 | \u5206\u7c7b\u5217\u8868 | \u662f | \ud83d\uddd3\ufe0f | \ud83d\uddd3\ufe0f |\n\n### \u8bf4\u660e\n\nqb\u4e0b\u8f7d\u3001qb\u5217\u8868\u3001qb\u5220\u9664\u3001qb\u4fee\u6539 \u53ef\u5e26\u53c2\u6570\u6267\u884c\n\n\u53ef\u9009\u53c2\u6570:\n\n tag, t: \u6807\u7b7e\n savepath, path, p: \u4e0b\u8f7d\u7684\u8def\u5f84\n category, c: \u5206\u7c7b\n state:\n\n###\n\n /qb\u4e0b\u8f7d -tag \u89c6\u9891 xxx # \u5c06url\u7684\u5185\u5bb9\u4e0b\u8f7d\u5e76\u6dfb\u52a0tag[\u89c6\u9891]\n\n### \u6548\u679c\u56fe\n\n[\u5047\u88c5\u6709\u56fe\u7247.jpg]\n\n## \u2b50\n\n<p><img src=\"https://api.star-history.com/svg?repos=SuperGuGuGu/nonebot_plugin_qbittorrent_manager&type=Date\" width=\"480\" alt=\"NoneBotPluginText\"></p>\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "qbittorrent\u7ba1\u7406\u5668",
"version": "1.1.2",
"project_urls": {
"Repository": "https://github.com/SuperGuGuGu/nonebot-plugin-qbittorrent-manager"
},
"split_keywords": [
"nonebot2",
" qbittorrent"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af44c62d3bf782c4e0855b895144d71530d5735a970b756911e9e2e91f67237b",
"md5": "ae09d82b55417a295aad55780d983e52",
"sha256": "832b5a17c2f402774e5a2fc2cad13b53d830418e15151c836c5f07dcc4426980"
},
"downloads": -1,
"filename": "nonebot_plugin_qbittorrent_manager-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ae09d82b55417a295aad55780d983e52",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 18977,
"upload_time": "2025-01-15T06:11:11",
"upload_time_iso_8601": "2025-01-15T06:11:11.392543Z",
"url": "https://files.pythonhosted.org/packages/af/44/c62d3bf782c4e0855b895144d71530d5735a970b756911e9e2e91f67237b/nonebot_plugin_qbittorrent_manager-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "17cf237fcdc6fb8428d87841c44dfea1a5b1cb536197c8f7ca8db6b01617a18e",
"md5": "1573b5d9f8c4c706e9da1c696d38848b",
"sha256": "853a07c7c72d084964e158d1c080a6d63221334def8c8cb38ea35acc1bedd933"
},
"downloads": -1,
"filename": "nonebot_plugin_qbittorrent_manager-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1573b5d9f8c4c706e9da1c696d38848b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 16996,
"upload_time": "2025-01-15T06:11:13",
"upload_time_iso_8601": "2025-01-15T06:11:13.591542Z",
"url": "https://files.pythonhosted.org/packages/17/cf/237fcdc6fb8428d87841c44dfea1a5b1cb536197c8f7ca8db6b01617a18e/nonebot_plugin_qbittorrent_manager-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-15 06:11:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SuperGuGuGu",
"github_project": "nonebot-plugin-qbittorrent-manager",
"github_not_found": true,
"lcname": "nonebot-plugin-qbittorrent-manager"
}