From e1d68f76faea800c51fc958a3aed0033f214c074 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 11 Jul 2023 23:25:49 +0300 Subject: [PATCH] 1337x: fix search by season for daily shows --- src/Jackett.Common/Definitions/1337x.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Jackett.Common/Definitions/1337x.yml b/src/Jackett.Common/Definitions/1337x.yml index 4cded699f..219daabc4 100644 --- a/src/Jackett.Common/Definitions/1337x.yml +++ b/src/Jackett.Common/Definitions/1337x.yml @@ -188,6 +188,10 @@ search: - path: "{{ if or .Query.Album .Query.Artist .Keywords }}sort-search{{ else }}cat/Music{{ end }}{{ if or .Query.Album .Query.Artist }}/{{ or .Query.Album .Query.Artist }}{{ else }}/{{ .Keywords }}{{ end }}{{ if or .Query.Album .Query.Artist .Keywords }}/{{ else }}{{ end }}{{ .Config.sort }}/{{ .Config.type }}/{{ if or .Query.Album .Query.Artist .Keywords }}3{{ else }}1{{ end }}/" - path: "{{ if or .Query.Album .Query.Artist .Keywords }}sort-search{{ else }}cat/Other{{ end }}{{ if or .Query.Album .Query.Artist }}/{{ or .Query.Album .Query.Artist }}{{ else }}/{{ .Keywords }}{{ end }}{{ if or .Query.Album .Query.Artist .Keywords }}/{{ else }}{{ end }}{{ .Config.sort }}/{{ .Config.type }}/{{ if or .Query.Album .Query.Artist .Keywords }}4{{ else }}1{{ end }}/" + keywordsfilters: + - name: re_replace # daily standard S2023 > 2023 + args: ["\\bS(20\\d{2})\\b", "$1"] + rows: selector: tr:has(a[href^="/torrent/"])