From eaa4126da5d0ae8c048ba1a81574a917f661844b Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 13 Dec 2020 06:58:10 +1300 Subject: [PATCH] NNC: add season search support resolves #10481 --- src/Jackett.Common/Definitions/noname-club.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Jackett.Common/Definitions/noname-club.yml b/src/Jackett.Common/Definitions/noname-club.yml index 631006e4d..56922fba1 100644 --- a/src/Jackett.Common/Definitions/noname-club.yml +++ b/src/Jackett.Common/Definitions/noname-club.yml @@ -757,6 +757,11 @@ search: nm: "{{ .Keywords }}" pn: "" submit: "Поиск" + keywordsfilters: + - name: re_replace # S01 to сезон 1 + args: ["(?i)\\bS0*(\\d+)\\b", " сезон $1"] + - name: re_replace # S01E01 to сезон 1 серии 1 + args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", " сезон $1 серии $2"] rows: selector: table.forumline.tablesorter > tbody > tr:has(a[href^="viewtopic.php?t="]):has(a[href^="download.php?id="])