From adcb01309fc3f879a3b67ecd7a1af618b96b59b8 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 4 May 2025 08:42:38 +1200 Subject: [PATCH] parabellumhd: strip season from query and convert temporada back to season --- src/Jackett.Common/Definitions/parabellumhd.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Jackett.Common/Definitions/parabellumhd.yml b/src/Jackett.Common/Definitions/parabellumhd.yml index 94761f007..04ef6d49c 100644 --- a/src/Jackett.Common/Definitions/parabellumhd.yml +++ b/src/Jackett.Common/Definitions/parabellumhd.yml @@ -66,6 +66,10 @@ search: args: ["\\b(20\\d{2})\\b", ""] - name: re_replace args: ["\\b(19\\d{2})\\b", ""] + - name: re_replace # strip season + args: ["(?i)\\b(S\\d+)\\b", ""] + - name: re_replace # strip El + args: ["(?i)\\b(el)\\b", ""] rows: selector: div.search-results > ul > li @@ -94,6 +98,8 @@ search: filters: - name: regexp args: (\d+\s*\w+)$ + - name: re_replace + args: ["(?i)(\\d+) (temporadas?)", "Season $1"] title: selector: a[href^="torrent_details.php?id="] filters: