From 8d936c70f00e9fcc3fd9ccf67c19bf617c5c7451 Mon Sep 17 00:00:00 2001 From: EstrellaXD Date: Sat, 14 May 2022 11:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 22 +++++++++++++++++----- 自动追番机.md => 自动追番机搭建教程.md | 0 2 files changed, 17 insertions(+), 5 deletions(-) rename 自动追番机.md => 自动追番机搭建教程.md (100%) diff --git a/README.md b/README.md index 32b8ba41..7bf33097 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/自动追番机.md b/自动追番机搭建教程.md similarity index 100% rename from 自动追番机.md rename to 自动追番机搭建教程.md