pier720: default size to 1gb if missing #12288

This commit is contained in:
Garfield69 2021-09-12 16:06:21 +12:00
parent a64a8ae501
commit e9f0a5f885
1 changed files with 6 additions and 3 deletions

View File

@ -150,11 +150,14 @@ search:
download:
selector: a.topictitle
attribute: href
size:
text: "1 GB"
size:
_size:
selector: div.list-inner div[style="float:right;"]
optional: true
filters:
- name: prepend
args: 0
size:
text: "{{ if eq .Result._size \"0\"}}1GB{{ else }}{{ .Result._size }}{{ end }}"
seeders:
text: 0
seeders: