From f219461b5c8a9da0fa8f4d0ce4b14d67dd70a6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20St=C4=99pie=C5=84?= Date: Sun, 24 Sep 2023 13:45:56 +0200 Subject: [PATCH] torrentleech-pl: remove [PACK] prefix from season packs (#14713) Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> --- src/Jackett.Common/Definitions/torrentleech-pl.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Jackett.Common/Definitions/torrentleech-pl.yml b/src/Jackett.Common/Definitions/torrentleech-pl.yml index 786ea727b..fee4e0db8 100644 --- a/src/Jackett.Common/Definitions/torrentleech-pl.yml +++ b/src/Jackett.Common/Definitions/torrentleech-pl.yml @@ -127,6 +127,9 @@ search: - name: trim title: text: "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_raw }}{{ end }}" + filters: + - name: re_replace + args: ["(?i)^\\[PACK\\]\\s?", ""] details: selector: a[href^="details.php?id="] attribute: href