添加说明

This commit is contained in:
EstrellaXD
2022-05-14 11:11:18 +08:00
parent e5170687b1
commit 8d936c70f0
2 changed files with 17 additions and 5 deletions

View File

@@ -1,11 +1,20 @@
# 新番重命名
# 全自动追番方案
## 说明
- 需要依赖
本项目根据 qBittorrent, Plex 以及 infuse 搭建
![Image](https://cdn.sspai.com/2022/02/09/d94ec60db1c136f6b12ba3dca31e5f5f.png?imageView2/2/w/1120/q/90/interlace/1/ignore-error/1)
### 需要依赖
```bash
pip install qbittorrent-api
```
# 使用说明
## rename_qb
## 自动下载规则建立
```shell
python3 rule_set.py --name <新番名称>
```
## 不符合规则的番剧重命名
### rename_qb
`rename_qb.py` 中填入 QB 的地址和用户名密码。
然后直接运行 `rename_qb.py` 即可, 如果只想对新番进行重命名,可以添加 `categories="Bangumi"` 语句
@@ -14,9 +23,12 @@ pip install qbittorrent-api
- 可以作为 `bash` 脚本运行
- 可以构建 `crontab` 定时运行
```shell
0,30 * * * * python3 /path/rename_qb.py
```
- 也可以监测文件夹变化运行。
## rename_hash
### rename_hash
需要 QB 下载完成之后反向输入种子的哈希值,可以编写 Shell 脚本:
```shell
#!/bin/bash