From ec7a2d049cc602422605c8c49f37059fa5b85575 Mon Sep 17 00:00:00 2001 From: garfield69 Date: Fri, 22 Sep 2017 18:04:10 +1200 Subject: [PATCH] zooqle: fix seeders and leechers (#1867) --- src/Jackett/Definitions/zooqle.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/Jackett/Definitions/zooqle.yml b/src/Jackett/Definitions/zooqle.yml index 00b715777..7d52eefe8 100644 --- a/src/Jackett/Definitions/zooqle.yml +++ b/src/Jackett/Definitions/zooqle.yml @@ -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: