oncesearch: default size to 256mb if missing #12288

This commit is contained in:
Garfield69
2021-09-12 15:55:58 +12:00
parent 0841f453bf
commit a64a8ae501

View File

@@ -126,11 +126,14 @@ search:
files: files:
selector: td:nth-child(4) selector: td:nth-child(4)
optional: true optional: true
size: _size:
text: "256 MB"
size:
selector: td:nth-child(5) selector: td:nth-child(5)
optional: true optional: true
filters:
- name: prepend
args: 0
size:
text: "{{ if eq .Result._size \"0\"}}256MB{{ else }}{{ .Result._size }}{{ end }}"
seeders: seeders:
text: 1 text: 1
leechers: leechers: