From 758b00b567c310767c8957d538ebe2e2a89ec7d6 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Tue, 28 Feb 2017 14:00:11 +0100 Subject: [PATCH] UHDBits: handle optional columns --- src/Jackett/Definitions/uhdbits.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Jackett/Definitions/uhdbits.yml b/src/Jackett/Definitions/uhdbits.yml index 9e9d06990..e399d4792 100644 --- a/src/Jackett/Definitions/uhdbits.yml +++ b/src/Jackett/Definitions/uhdbits.yml @@ -55,6 +55,7 @@ rows: selector: table#torrent_table > tbody > tr.torrent fields: + # note: there are optinal extra colums download: selector: a[title="Download"] attribute: href @@ -117,15 +118,15 @@ - name: regexp args: (.*)#torrent\d+$ size: - selector: td:nth-child(5) + selector: td[class="number_column nobr"] grabs: - selector: td:nth-child(6) + selector: td[class="number_column nobr"] ~ td files: selector: td:nth-child(3) seeders: - selector: td:nth-child(7) + selector: td[class="number_column nobr"] ~ td ~ td leechers: - selector: td:nth-child(8) + selector: td[class="number_column nobr"] ~ td ~ td ~ td date: selector: td:nth-child(4) filters: