zooqle: fix seeders and leechers (#1867)

This commit is contained in:
garfield69 2017-09-22 18:04:10 +12:00 committed by kaso17
parent 11ebe34f55
commit ec7a2d049c
1 changed files with 14 additions and 6 deletions

View File

@ -71,13 +71,21 @@
- name: replace
args: [" N/A ", "0 Bytes"]
seeders:
# seeders can be missing
optional: true
selector: td:nth-child(6) div div:first-child
selector: td:nth-child(6) div
attribute: title
filters:
- name: split
args: [" ", 1]
- name: replace
args: [",", ""]
leechers:
# leechers can be missing
optional: true
selector: td:nth-child(6) div div:nth-child(2)
selector: td:nth-child(6) div
attribute: title
filters:
- name: split
args: [" ", 4]
- name: replace
args: [",", ""]
downloadvolumefactor:
text: "0"
uploadvolumefactor: