From 10c5f209eead2cf14339843f5f7a08dd281f32d9 Mon Sep 17 00:00:00 2001 From: Jorman Date: Sun, 10 Mar 2019 21:13:03 +0100 Subject: [PATCH] hdtorrent.it Workaround due to https://github.com/Jackett/Jackett/issues/4839 Waiting for a c version of this tracker --- src/Jackett.Common/Definitions/hdtorrentsit.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdtorrentsit.yml b/src/Jackett.Common/Definitions/hdtorrentsit.yml index c29ae178c6e39..9f10ff97d6d1d 100644 --- a/src/Jackett.Common/Definitions/hdtorrentsit.yml +++ b/src/Jackett.Common/Definitions/hdtorrentsit.yml @@ -119,12 +119,18 @@ size: selector: td:nth-child(3) seeders: - selector: td:nth-child(4) + text: 1 + seeders: + selector: td:nth-child(5) + optional: true filters: - name: re_replace args: ["(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)", "$1"] leechers: - selector: td:nth-child(4) + text: 1 + leechers: + selector: td:nth-child(5) + optional: true filters: - name: re_replace args: ["(\\d*) \\(\\+\\d*\\)\n? \\| (\\d*) \\(\\+\\d*\\)", "$2"]