diff --git a/src/Jackett.Common/Definitions/parabellumhd.yml b/src/Jackett.Common/Definitions/parabellumhd.yml index 708e8be7e..09247129b 100644 --- a/src/Jackett.Common/Definitions/parabellumhd.yml +++ b/src/Jackett.Common/Definitions/parabellumhd.yml @@ -61,7 +61,7 @@ search: order: "{{ .Config.sort }}" search: "{{ .Keywords }}" # if the year is not available in .Query.Year then extract it from .Query.Keywords if found - year: "{{ if .Query.Year }}{{ .Query.Year }}{{ else }}{{ re_replace .Query.Keywords \"\\b(.*([1|2][9|0]\\d{2}).*)\\b\" \"$2\" }}{{ end }}" + year: "{{ if .Query.Year }}{{ .Query.Year }}{{ else }}{{ re_replace .Query.Keywords \"(.*\\b([1|2][9|0]\\d{2})\\b.*)\" \"$2\" }}{{ end }}" keywordsfilters: - name: re_replace # remove year args: ["\\b(20\\d{2})\\b", ""]