From 2e3282078c724d4748edad9de117dbb3212d47a6 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 4 Jul 2023 13:14:05 +0300 Subject: [PATCH] torrentleech: remove request from titles --- src/Jackett.Common/Definitions/torrentleech.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackett.Common/Definitions/torrentleech.yml b/src/Jackett.Common/Definitions/torrentleech.yml index 2b44ab655..36bd2af7e 100644 --- a/src/Jackett.Common/Definitions/torrentleech.yml +++ b/src/Jackett.Common/Definitions/torrentleech.yml @@ -168,6 +168,10 @@ search: title_test: # title can be null #13736 selector: name optional: true + filters: + # remove [REQ]/[REQUEST] + - name: re_replace + args: ["(?i)^\\[REQ(UEST(ED)?)?\\]\\s*", ""] title: text: "{{ if .Result.title_test }}{{ .Result.title_test }}{{ else }}TorrentLeech did not provide a title{{ end }}" _id: