mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
magico: surround year with brackets resolves #9345
This commit is contained in:
@@ -126,10 +126,12 @@ search:
|
|||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
keywordsfilters:
|
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
|
- name: replace # use this as a workaround till #893 is implemented
|
||||||
args: ["Greys Anatomy", "Grey's Anatomy"]
|
args: ["Greys Anatomy", "Grey's Anatomy"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[^\\w\\d]+", "%"]
|
args: ["[^\\w\\d\\(\\)]+", "%"]
|
||||||
inputs:
|
inputs:
|
||||||
p: torrents
|
p: torrents
|
||||||
pid: 32
|
pid: 32
|
||||||
|
Reference in New Issue
Block a user