From 92f7277cb109bd0541b3b2d69e3b80ea598c054a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 8 Dec 2020 07:40:36 +1300 Subject: [PATCH] uhdbits: add season pack search support. resolves #10423 --- src/Jackett.Common/Definitions/uhdbits.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Jackett.Common/Definitions/uhdbits.yml b/src/Jackett.Common/Definitions/uhdbits.yml index 34584328c..507341746 100644 --- a/src/Jackett.Common/Definitions/uhdbits.yml +++ b/src/Jackett.Common/Definitions/uhdbits.yml @@ -81,6 +81,10 @@ search: order_way: "{{ .Config.type }}" action: advanced searchsubmit: 1 + keywordsfilters: + # if searching for season packs switch S01 to season 1 #10423 + - name: re_replace + args: ["(?i)(S)(\\d{1,3})$", "season $2"] rows: selector: table#torrent_table > tbody > tr.torrent @@ -127,6 +131,9 @@ search: args: [" / 2x", ""] - name: re_replace args: [" / ", " "] + # #10423 + - name: re_replace + args: ["(?i)(season )", "S"] details: selector: a.torrent_name attribute: href