From baf20927e4fabc60827320d76e0ecc6173904700 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Thu, 16 Nov 2017 15:42:36 +0100 Subject: [PATCH] ICE Torrent: update to new layout --- src/Jackett.Common/Definitions/icetorrent.yml | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/Jackett.Common/Definitions/icetorrent.yml b/src/Jackett.Common/Definitions/icetorrent.yml index 4c2819e8f..d5e359c8a 100644 --- a/src/Jackett.Common/Definitions/icetorrent.yml +++ b/src/Jackett.Common/Definitions/icetorrent.yml @@ -106,15 +106,15 @@ selector: a[href^="download.php"] attribute: href files: - selector: td:nth-child(5) > a + selector: td:nth-last-child(3) > a filters: - name: regexp args: (\d+) size: - selector: td:nth-child(5) + selector: td:nth-last-child(3) remove: a date: - selector: td:nth-child(2) > div + selector: td > font:contains("Added on") remove: b filters: - name: replace @@ -135,8 +135,10 @@ args: " +02:00" - name: dateparse args: "2 Jan 2006 15:04:05 -07:00" - grabs: - selector: td:nth-child(6) + seeders: + selector: td:nth-last-child(2) + leechers: + selector: td:nth-last-child(1) downloadvolumefactor: case: "*": "0" @@ -144,9 +146,5 @@ case: "*": "1" description: - selector: td:nth-child(2) - remove: a[title][href^="details.php?id="], div - seeders: - text: "9999" - leechers: - text: "9999" + selector: td:has(a[title][href^="details.php?id="]) + remove: a[title][href^="details.php?id="], div, font:contains("Added on")