satclubbing: seeds andleech can be missing. #13243

This commit is contained in:
Garfield69 2022-05-17 14:56:06 +12:00
parent aeacb93440
commit 3f036da9de
1 changed files with 8 additions and 2 deletions

View File

@ -132,13 +132,19 @@ search:
selector: a[href$="filelist=1"]
size:
selector: td:has(a[href$="filelist=1"]) + td + td
seeders:
seeders_optional:
selector: a[href$="toseeders=1"]
leechers:
optional: true
seeders:
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
leechers_optional:
selector: td:has(a[href$="toseeders=1"])
optional: true
filters:
- name: split
args: ["|", 1]
leechers:
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
downloadvolumefactor:
case:
img[src$="pic/free_icon.gif"]: 0