From bf5bc1c504dca4299aeedf3435ded97c6c013813 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 15 Jun 2022 08:56:23 +1200 Subject: [PATCH] torrentland: cleanup --- .../Definitions/torrentland-api.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentland-api.yml b/src/Jackett.Common/Definitions/torrentland-api.yml index d400e2e46..43888b780 100644 --- a/src/Jackett.Common/Definitions/torrentland-api.yml +++ b/src/Jackett.Common/Definitions/torrentland-api.yml @@ -108,17 +108,16 @@ search: selector: name:contains(VOSE) optional: true filters: - - name: re_replace - args: ["^ *\\[[^\\]]*\\] *", ""] # Remove prefix tags - - name: re_replace - args: ["(?i)\\bT(\\d+)", "S$1"] - - name: re_replace - args: ["UHDRip", "BDRip"] # Fix for Radarr - name: append args: " ENGLiSH" title_notvose: selector: name:not(:contains(VOSE)) optional: true + filters: + - name: append + args: " SPANiSH" + title: + text: "{{ if .Result.title_vose }}{{ .Result.title_vose }}{{ else }}{{ .Result.title_notvose }}{{ end }}" filters: - name: re_replace args: ["^ *\\[[^\\]]*\\] *", ""] # Remove prefix tags @@ -126,10 +125,6 @@ search: args: ["(?i)\\bT(\\d+)", "S$1"] - name: re_replace args: ["UHDRip", "BDRip"] # Fix for Radarr - - name: append - args: " SPANiSH" - title: - text: "{{ if .Result.title_vose }}{{ .Result.title_vose }}{{ else }}{{ .Result.title_notvose }}{{ end }}" details: selector: details_link download: