1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 22:23:20 +00:00

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 type: json
attribute: attributes attribute: attributes
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows: rows:
selector: data selector: data
count: count:

View file

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

View file

@ -144,6 +144,10 @@ search:
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}" category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{ else }}0{{ end }}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows: rows:
selector: div.inf-table-row 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 }}" - path: "index.php?torrents/&freeleech={{ if .Config.freeleech }}1{{ else }}{{ end }}&filename={{ .Keywords }}"
# imdb and tmdb not supported # imdb and tmdb not supported
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows: rows:
selector: table.dataList-table > tbody.normal-torrents > tr selector: table.dataList-table > tbody.normal-torrents > tr

View file

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