0871dbb48f95ee1721651df7fa81e06fca56b7b8
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
TorrentOps
Telegram-controlled qBittorrent RSS rule manager.
Commands
/help
/add "name" "query" ["exclude"] season [root] feeds
/confirm
/cancel
/feeds [filter]
/rules
/current
/search <text>
/prune [days]
/prune_confirm
/prune_cancel
/status
Example
/add "Frieren" "Sousou no Frieren" 2 anime 5
Optional exclusions are appended to the default batch must-not-contain rule:
/add "Ghost in the Shell" "Koukaku 265" "Dual Audio HEVC" 1 anime 7
Smart quotes from iOS/macOS are normalized automatically, so this also parses correctly:
/add “Ghost in the Shell” “Koukaku 265” 1 anime 7
Multiple feeds:
/add "Fire Force" "Enen no Shouboutai" 3 anime_l 5,1
/add only previews. Use /confirm to apply.
v1.1 Feed Path Behavior
If FEEDS_PATH is not set in .env, TorrentOps automatically reads:
<folder containing DOWNLOAD_RULES_PATH>\feeds.json
So if your rules path is:
C:\Users\YOU\AppData\Roaming\qBittorrent\rss\download_rules.json
TorrentOps will read feeds from:
C:\Users\YOU\AppData\Roaming\qBittorrent\rss\feeds.json
Pruning old RSS rules
Preview rules whose lastMatch is older than the configured threshold:
/prune
Override the threshold for one preview:
/prune 45
Then apply:
/prune_confirm
Cancel:
/prune_cancel
TorrentOps backs up download_rules.json before writing changes when BACKUP_RULES_JSON=true.
Rules with blank or unparsable lastMatch are skipped for safety.
Languages
Python
88.1%
Batchfile
11.9%