From 04995f1a1093534f602c7a13b09666dbd72e970e Mon Sep 17 00:00:00 2001 From: thebluepotato Date: Mon, 28 Aug 2017 13:01:51 +0200 Subject: [PATCH] Fixes for 3 French trackers (#1736) Non-critical fixes: - NextTorrent and Zetorrents: error in logs when no results were returned from search - T411v2: improved selector to disregard VPN add in search results --- src/Jackett/Definitions/nexttorrent.yml | 4 ++-- src/Jackett/Definitions/t411v2.yml | 2 +- src/Jackett/Definitions/zetorrents.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) mode change 100644 => 100755 src/Jackett/Definitions/nexttorrent.yml mode change 100644 => 100755 src/Jackett/Definitions/zetorrents.yml diff --git a/src/Jackett/Definitions/nexttorrent.yml b/src/Jackett/Definitions/nexttorrent.yml old mode 100644 new mode 100755 index b61efb3b2..30526c138 --- a/src/Jackett/Definitions/nexttorrent.yml +++ b/src/Jackett/Definitions/nexttorrent.yml @@ -24,7 +24,7 @@ search: path: "recherche/{{ .Query.Keywords }}" rows: - selector: div.listing-torrent > table tbody tr + selector: div.listing-torrent > table tbody tr:has(a) fields: site_date: selector: td:nth-child(1) a @@ -85,4 +85,4 @@ downloadvolumefactor: text: "0" uploadvolumefactor: - text: "1" \ No newline at end of file + text: "1" diff --git a/src/Jackett/Definitions/t411v2.yml b/src/Jackett/Definitions/t411v2.yml index 1ff3e6074..822e1b711 100755 --- a/src/Jackett/Definitions/t411v2.yml +++ b/src/Jackett/Definitions/t411v2.yml @@ -28,7 +28,7 @@ search: path: /torrents/search/?search={{ .Keywords}} rows: - selector: tr.isItemDesk + selector: tr.isItem.isItemDesk fields: category: selector: td.m-cat > a diff --git a/src/Jackett/Definitions/zetorrents.yml b/src/Jackett/Definitions/zetorrents.yml old mode 100644 new mode 100755 index ab4f3f7ce..4d0434504 --- a/src/Jackett/Definitions/zetorrents.yml +++ b/src/Jackett/Definitions/zetorrents.yml @@ -24,7 +24,7 @@ search: path: "/recherche/{{ .Query.Keywords }}" rows: - selector: div.content-list-torrent > table tbody tr + selector: div.content-list-torrent > table tbody tr:has(a) fields: site_date: selector: td:nth-child(1) a @@ -85,4 +85,4 @@ downloadvolumefactor: text: "0" uploadvolumefactor: - text: "1" \ No newline at end of file + text: "1"