audiobookbay: make optional size and date optional

This commit is contained in:
ilike2burnthing
2022-07-31 17:53:42 +01:00
committed by GitHub
parent 742a887e6d
commit a955579133

View File

@@ -144,6 +144,7 @@ search:
selector: img
attribute: src
date_optional:
optional: true
selector: div.postContent
filters:
- name: regexp
@@ -153,6 +154,7 @@ search:
date:
text: "{{ if .Result.date_optional }}{{ .Result.date_optional }}{{ else }}now{{ end }}"
size_optional:
optional: true
selector: div.postContent
filters:
- name: regexp