magico: surround year with brackets resolves #9345

This commit is contained in:
Garfield69 2020-08-17 10:34:29 +12:00
parent f8ad109b78
commit 47bcec15a5
1 changed files with 3 additions and 1 deletions

View File

@ -126,10 +126,12 @@ search:
paths:
- path: /
keywordsfilters:
- name: re_replace # add brackets to year on searchquery if missing
args: ["(\\b(19|20)\\d{2})", " ($1)"]
- name: replace # use this as a workaround till #893 is implemented
args: ["Greys Anatomy", "Grey's Anatomy"]
- name: re_replace
args: ["[^\\w\\d]+", "%"]
args: ["[^\\w\\d\\(\\)]+", "%"]
inputs:
p: torrents
pid: 32