torrentleech: remove request from titles

This commit is contained in:
Bogdan 2023-07-04 13:14:05 +03:00
parent 5206aafb21
commit 2e3282078c
1 changed files with 4 additions and 0 deletions

View File

@ -168,6 +168,10 @@ search:
title_test: # title can be null #13736 title_test: # title can be null #13736
selector: name selector: name
optional: true optional: true
filters:
# remove [REQ]/[REQUEST]
- name: re_replace
args: ["(?i)^\\[REQ(UEST(ED)?)?\\]\\s*", ""]
title: title:
text: "{{ if .Result.title_test }}{{ .Result.title_test }}{{ else }}TorrentLeech did not provide a title{{ end }}" text: "{{ if .Result.title_test }}{{ .Result.title_test }}{{ else }}TorrentLeech did not provide a title{{ end }}"
_id: _id: