mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 18:59:01 +00:00
torrentseeds: prepend keywords >2 chars with plus, put dates in quotes. resolves #14254
This commit is contained in:
parent
6c8086a736
commit
3edd971ab7
1 changed files with 4 additions and 2 deletions
|
@ -92,8 +92,10 @@ search:
|
|||
page: 1
|
||||
|
||||
keywordsfilters:
|
||||
- name: re_replace
|
||||
args: ["(\\w+)", "+$1"] # prepend + to each word
|
||||
- name: re_replace # prepend + to each word >2 characters
|
||||
args: ["(\\w{3,})", "+$1"]
|
||||
- name: re_replace # +2023 04 13 > +"2023 04 13"
|
||||
args: ["\\+\\b(\\d{4}[\\s\\.\\-]\\d{2}[\\s\\.\\-]\\d{2})\\b", "+\"$1\""]
|
||||
|
||||
rows:
|
||||
selector: data
|
||||
|
|
Loading…
Add table
Reference in a new issue