<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_private | 否 | [] | 启用的私聊,为空时所有私聊均响应 | ["12345"] |
| qbm_enable_group | 否 | [] | 启用的群聊,为空时所有群均响应 | ["12345"] |
| qbm_send_text | 否 | false | 禁用绘图,只发送文本 | true |
| qbm_basepath | 否 | "./qbittorrent_manager/" | 插件数据存放文件夹 | "./qbittorrent_manager/" |
## 🎉 使用
### 指令表
- ✅: 支持
- 🚧: 部分支持或正在完善
- 🗓️️: 计划中
- 🎨️: pil绘制
| 指令 | 说明 | 需要at | 功能实现 |
|:----:|:-----------:|:----:|:----:|
| qb帮助 | 指令列表 | 是 | ✅ |
| qb下载 | 下载文件 | 是 | ✅️ |
| qb列表 | 目前的任务列表 | 是 | ✅️ |
| qb删除 | 删除指定任务 | 是 | ✅️ |
| qb修改 | 修改分类、标签、文件夹 | 是 | 🗓️ |
### 说明
qb下载、qb列表、qb删除 可带参数执行
可选参数:
tag, t: 标签
path, path, p: 下载的路径
category, c: 分类
state:
###
/qb下载 -tag 视频 xxx # 将url的内容下载并添加tag[视频]
### 效果图
[图片.jpg]
Raw data
{
"_id": null,
"home_page": "https://github.com/SuperGuGuGu/nonebot-plugin-qbittorrent-manager",
"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/ad/d3/57825f1e7341345236005282ca14cf1510bf9c2da10e107b4b516545c0e2/nonebot_plugin_qbittorrent_manager-0.1.9.1.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_private | \u5426 | [] | \u542f\u7528\u7684\u79c1\u804a,\u4e3a\u7a7a\u65f6\u6240\u6709\u79c1\u804a\u5747\u54cd\u5e94 | [\"12345\"] |\n| qbm_enable_group | \u5426 | [] | \u542f\u7528\u7684\u7fa4\u804a,\u4e3a\u7a7a\u65f6\u6240\u6709\u7fa4\u5747\u54cd\u5e94 | [\"12345\"] |\n| qbm_send_text | \u5426 | false | \u7981\u7528\u7ed8\u56fe\uff0c\u53ea\u53d1\u9001\u6587\u672c | true |\n| qbm_basepath | \u5426 | \"./qbittorrent_manager/\" | \u63d2\u4ef6\u6570\u636e\u5b58\u653e\u6587\u4ef6\u5939 | \"./qbittorrent_manager/\" |\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- \ud83c\udfa8\ufe0f: pil\u7ed8\u5236\n\n| \u6307\u4ee4 | \u8bf4\u660e | \u9700\u8981at | \u529f\u80fd\u5b9e\u73b0 |\n|:----:|:-----------:|:----:|:----:|\n| qb\u5e2e\u52a9 | \u6307\u4ee4\u5217\u8868 | \u662f | \u2705 |\n| qb\u4e0b\u8f7d | \u4e0b\u8f7d\u6587\u4ef6 | \u662f | \u2705\ufe0f |\n| qb\u5217\u8868 | \u76ee\u524d\u7684\u4efb\u52a1\u5217\u8868 | \u662f | \u2705\ufe0f |\n| qb\u5220\u9664 | \u5220\u9664\u6307\u5b9a\u4efb\u52a1 | \u662f | \u2705\ufe0f |\n| qb\u4fee\u6539 | \u4fee\u6539\u5206\u7c7b\u3001\u6807\u7b7e\u3001\u6587\u4ef6\u5939 | \u662f | \ud83d\uddd3\ufe0f |\n\n### \u8bf4\u660e\n\nqb\u4e0b\u8f7d\u3001qb\u5217\u8868\u3001qb\u5220\u9664 \u53ef\u5e26\u53c2\u6570\u6267\u884c\n\n\u53ef\u9009\u53c2\u6570:\n\n tag, t: \u6807\u7b7e\n path, 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[\u56fe\u7247.jpg]\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "qbittorrent\u7ba1\u7406\u5668",
"version": "0.1.9.1",
"project_urls": {
"Homepage": "https://github.com/SuperGuGuGu/nonebot-plugin-qbittorrent-manager",
"Repository": "https://github.com/SuperGuGuGu/nonebot-plugin-qbittorrent-manager"
},
"split_keywords": [
"nonebot2",
" qbittorrent"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d86c80e18464a3fddc54cc4c44dedfe88140020818660c95eff8b9d1a8029079",
"md5": "04f44507d7faeb634837f79ba9749847",
"sha256": "8a77153ec10c28816b51c10e20d0e1abc28a35c50fd02272ef4c6aff8c7c1a7e"
},
"downloads": -1,
"filename": "nonebot_plugin_qbittorrent_manager-0.1.9.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "04f44507d7faeb634837f79ba9749847",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 16437,
"upload_time": "2024-12-26T13:07:41",
"upload_time_iso_8601": "2024-12-26T13:07:41.245455Z",
"url": "https://files.pythonhosted.org/packages/d8/6c/80e18464a3fddc54cc4c44dedfe88140020818660c95eff8b9d1a8029079/nonebot_plugin_qbittorrent_manager-0.1.9.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "add357825f1e7341345236005282ca14cf1510bf9c2da10e107b4b516545c0e2",
"md5": "4fdc75c77622c9ec15c615da549537cd",
"sha256": "30b3c86dda774e3faf2d82e0474378bfe8864b36db9c301535ce0de169eb238d"
},
"downloads": -1,
"filename": "nonebot_plugin_qbittorrent_manager-0.1.9.1.tar.gz",
"has_sig": false,
"md5_digest": "4fdc75c77622c9ec15c615da549537cd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 14990,
"upload_time": "2024-12-26T13:07:42",
"upload_time_iso_8601": "2024-12-26T13:07:42.267756Z",
"url": "https://files.pythonhosted.org/packages/ad/d3/57825f1e7341345236005282ca14cf1510bf9c2da10e107b4b516545c0e2/nonebot_plugin_qbittorrent_manager-0.1.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-26 13:07:42",
"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"
}