nyaasi: handler empty seeders/leechers/grabs. resolves #6587

This commit is contained in:
Garfield69 2019-12-12 09:08:32 +13:00
parent 1afc082bb1
commit 68b9941d11
1 changed files with 26 additions and 5 deletions

View File

@ -125,12 +125,33 @@
- name: dateparse - name: dateparse
args: "2006-01-02 15:04 -07" args: "2006-01-02 15:04 -07"
seeders: seeders:
selector: td:nth-child(6) selector: td:nth-child(6):empty
optional: true
filters:
- name: append
args: 0
seeders:
selector: td:nth-child(6):not(:empty)
optional: true
leechers: leechers:
selector: td:nth-child(7) selector: td:nth-child(7):empty
optional: true
filters:
- name: append
args: 0
leechers:
selector: td:nth-child(7):not(:empty)
optional: true
grabs: grabs:
selector: td:nth-child(8) selector: td:nth-child(8):empty
optional: true
filters:
- name: append
args: 0
grabs:
selector: td:nth-child(8):not(:empty)
optional: true
downloadvolumefactor: downloadvolumefactor:
text: "0" text: 0
uploadvolumefactor: uploadvolumefactor:
text: "1" text: 1