assorted: reenable default size after #12294 resolves #12288

This commit is contained in:
Garfield69 2021-09-13 08:14:31 +12:00
parent 4b872b00ad
commit b09c1b5f31
3 changed files with 10 additions and 17 deletions

View File

@ -130,15 +130,14 @@ search:
poster:
selector: .imagen img
attribute: data-src
_size:
size:
text: "512 MB"
size:
selector: .voto1
optional: true
filters:
- name: prepend
args: 0
- name: replace
args: ["s", ""]
size:
text: "{{ if eq .Result._size \"0\"}}512MB{{ else }}{{ .Result._size }}{{ end }}"
date:
text: now
seeders:

View File

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

View File

@ -150,14 +150,11 @@ search:
download:
selector: a.topictitle
attribute: href
_size:
size:
text: "1 GB"
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: