From 52e95476c07e092cd50b4aacbdbdeac9d6c14a71 Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sun, 23 Jan 2022 12:02:08 +0100 Subject: [PATCH] hdolimpo: improve language parsing for radarr (#12875) --- src/Jackett.Common/Definitions/hdolimpo-api.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdolimpo-api.yml b/src/Jackett.Common/Definitions/hdolimpo-api.yml index eef8993e0..6b3a81eb0 100644 --- a/src/Jackett.Common/Definitions/hdolimpo-api.yml +++ b/src/Jackett.Common/Definitions/hdolimpo-api.yml @@ -101,6 +101,8 @@ search: args: ["[ -](?i)spa[ -]", " SPANiSH "] - name: re_replace args: ["[ -](?i)esp[ -]", " SPANiSH "] + - name: re_replace + args: [" ES ", " SPANiSH "] - name: re_replace args: ["[ -](?i)ingl[eé]s[ -]", " English "] - name: re_replace @@ -120,9 +122,13 @@ search: - name: re_replace args: ["[ -](?i)ger[ -]", " German "] - name: re_replace - args: ["(?i)(triaudio)", "MULTi/SPANiSH/English"] + args: ["(?i)(triaudio)", "MULTi SPANiSH English"] - name: re_replace - args: ["(?i)(dual)", " MULTi/SPANiSH "] + args: ["(?i)(dual)", " MULTi SPANiSH "] + - name: re_replace + args: ["(?i)(es-en)", " MULTi SPANiSH "] + - name: re_replace + args: ["(?i)(en-es)", " MULTi SPANiSH "] - name: re_replace args: ["\\.+", "."] # More than 1 dot -> . - name: re_replace