assorted: remove . from keywords. #12689 (#12702)

This commit is contained in:
ilike2burnthing 2021-12-13 12:22:31 +00:00 committed by GitHub
parent fbb1f15d70
commit 0be8639e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 0 deletions

View File

@ -59,6 +59,10 @@ search:
type: json
attribute: attributes
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: data
count:

View File

@ -90,6 +90,10 @@ search:
page: 1
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: table > tbody > tr

View File

@ -144,6 +144,10 @@ search:
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}"
search: "{{ .Keywords }}"
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: div.inf-table-row

View File

@ -121,6 +121,10 @@ search:
- path: "index.php?torrents/&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}&filename={{ .Keywords }}"
# imdb and tmdb not supported
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: table.dataList-table > tbody.normal-torrents > tr

View File

@ -81,7 +81,10 @@ search:
order_way: "{{ .Config.type }}"
action: advanced
searchsubmit: 1
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
# if searching for season packs switch S01 to season 1 #10423
- name: re_replace
args: ["(?i)(S)(\\d{1,3})$", "season $2"]