1
0
Fork 0
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:
ilike2burnthing 2023-04-15 10:25:40 +01:00 committed by GitHub
parent 6c8086a736
commit 3edd971ab7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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