bibliotik: pre-init optional selectors. #10342

This commit is contained in:
Garfield69 2020-12-02 10:05:22 +13:00
parent 2cf3c3d101
commit a4cd6036c2
1 changed files with 10 additions and 0 deletions

View File

@ -80,20 +80,30 @@ search:
div[title="Comics"]: 4
div[title="Ebooks"]: 5
div[title="Magazines"]: 7
_author:
text: ""
_author:
selector: .authorLink
optional: true
_editor:
text: ""
_editor:
selector: .editorLink
optional: true
author:
text: "{{ or (.Result._author) (.Result._editor) }}"
_year:
text: ""
_year:
selector: .torYear
optional: true
_filetype:
text: ""
_filetype:
selector: .torFormat
optional: true
_retail:
text: ""
_retail:
selector: .torRetail
optional: true