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: poster:
selector: .imagen img selector: .imagen img
attribute: data-src attribute: data-src
_size: size:
text: "512 MB"
size:
selector: .voto1 selector: .voto1
optional: true
filters: filters:
- name: prepend
args: 0
- name: replace - name: replace
args: ["s", ""] args: ["s", ""]
size:
text: "{{ if eq .Result._size \"0\"}}512MB{{ else }}{{ .Result._size }}{{ end }}"
date: date:
text: now text: now
seeders: seeders:

View File

@@ -126,14 +126,11 @@ 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:

View File

@@ -150,14 +150,11 @@ 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: