mirror of https://github.com/Jackett/Jackett
pier720: default size to 1gb if missing #12288
This commit is contained in:
parent
a64a8ae501
commit
e9f0a5f885
|
@ -150,11 +150,14 @@ search:
|
||||||
download:
|
download:
|
||||||
selector: a.topictitle
|
selector: a.topictitle
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
_size:
|
||||||
text: "1 GB"
|
|
||||||
size:
|
|
||||||
selector: div.list-inner div[style="float:right;"]
|
selector: div.list-inner div[style="float:right;"]
|
||||||
optional: true
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: prepend
|
||||||
|
args: 0
|
||||||
|
size:
|
||||||
|
text: "{{ if eq .Result._size \"0\"}}1GB{{ else }}{{ .Result._size }}{{ end }}"
|
||||||
seeders:
|
seeders:
|
||||||
text: 0
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
|
|
Loading…
Reference in New Issue