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 - name: replace
args: [" N/A ", "0 Bytes"] args: [" N/A ", "0 Bytes"]
seeders: seeders:
# seeders can be missing selector: td:nth-child(6) div
optional: true attribute: title
selector: td:nth-child(6) div div:first-child filters:
- name: split
args: [" ", 1]
- name: replace
args: [",", ""]
leechers: leechers:
# leechers can be missing selector: td:nth-child(6) div
optional: true attribute: title
selector: td:nth-child(6) div div:nth-child(2) filters:
- name: split
args: [" ", 4]
- name: replace
args: [",", ""]
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "0"
uploadvolumefactor: uploadvolumefactor: