From acb14292041305717a16e48037602de41dafc5f7 Mon Sep 17 00:00:00 2001 From: Wouter Rutgers Date: Mon, 15 Mar 2021 00:00:37 +0100 Subject: [PATCH] extremetorrents: replace dutch title keywords (#11317) also remove season and ep tv-search Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> --- src/Jackett.Common/Definitions/extremetorrents.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/extremetorrents.yml b/src/Jackett.Common/Definitions/extremetorrents.yml index 07218f9d9..8d9b880b3 100644 --- a/src/Jackett.Common/Definitions/extremetorrents.yml +++ b/src/Jackett.Common/Definitions/extremetorrents.yml @@ -36,7 +36,7 @@ caps: modes: search: [q] - tv-search: [q, season, ep] + tv-search: [q] movie-search: [q] music-search: [q] book-search: [q] @@ -104,6 +104,15 @@ search: args: cat title: selector: a[href^="details.php?id="] + filters: + - name: re_replace + args: ["(?i)seizoen\\s*(\\d{1,2})\\s*(tot|t\/m)\\s*(\\d{1,2})", "S$1-$3"] + - name: re_replace + args: ["(?i)(seizoen\\s*)(\\d{1,2})", "S$2"] + - name: re_replace + args: ["(?i)(afl.\\s*|aflevering\\s*)(\\d{1,2})", "E$2"] + - name: re_replace + args: ["(?i)compleet", "Complete"] details: selector: a[href^="details.php?id="] attribute: href