mirror of
https://github.com/Jackett/Jackett
synced 2025-03-01 01:15:47 +00:00
torrentz2k: cat can be missing. resolves #8440
This commit is contained in:
parent
ff0e9546d9
commit
e7027774a4
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,7 @@ search:
|
|||
- name: andmatch
|
||||
|
||||
fields:
|
||||
category:
|
||||
_category:
|
||||
selector: i
|
||||
attribute: class
|
||||
filters:
|
||||
|
@ -65,6 +65,9 @@ search:
|
|||
# remove fa- prefix
|
||||
- name: replace
|
||||
args: ["fa-", ""]
|
||||
category:
|
||||
# _category can be null so replace with list when that happens
|
||||
text: "{{ if .Result._category }}{{ .Result._category }}{{ else }}list{{ end}}"
|
||||
title:
|
||||
selector: button
|
||||
attribute: title
|
||||
|
|
Loading…
Reference in a new issue