From de8adf382bc4b02fb2a23331a052b62a02624cf3 Mon Sep 17 00:00:00 2001 From: Jorman Date: Mon, 22 Oct 2018 02:22:42 +0200 Subject: [PATCH] more specific td selection for shareisland (#4034) * more specific td selection for shareisland --- src/Jackett.Common/Definitions/shareisland.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/shareisland.yml b/src/Jackett.Common/Definitions/shareisland.yml index 5b3e8d4c4..5b091db75 100644 --- a/src/Jackett.Common/Definitions/shareisland.yml +++ b/src/Jackett.Common/Definitions/shareisland.yml @@ -100,7 +100,7 @@ selector: a[href^="download.php?id="] attribute: href title: # shortened title? - selector: a[href^="index.php?page=torrent-details"] + selector: td:nth-child(2) filters: - name: re_replace # replace special characters with " " (space) args: ["[^a-zA-Z0-9\\s]|\\.", " "] @@ -125,7 +125,7 @@ args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""] title: # long titles? optional: true - selector: a[title][href^="index.php?page=torrent-details"] + selector: td:nth-child(2) attribute: title filters: - name: re_replace # replace special characters with " " (space) @@ -150,7 +150,7 @@ - name: re_replace # rimozioni varie args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""] category: - selector: a[href^="index.php?page=torrents&category="] + selector: td:nth-child(1) a[href^="index.php?page=torrents&category="] attribute: href filters: - name: querystring @@ -166,21 +166,21 @@ - name: regexp args: "src=(.+?) " size: - selector: td:nth-child(10) + selector: td:nth-last-child(3) date: - selector: td:nth-child(5) + selector: td:nth-last-child(7) filters: - name: dateparse args: "02/01/2006" grabs: - selector: td:nth-child(8) + selector: td:nth-last-child(4) filters: - name: replace args: ["---", "0"] seeders: - selector: td:nth-child(6) + selector: td:nth-last-child(6) leechers: - selector: td:nth-child(7) + selector: td:nth-last-child(5) downloadvolumefactor: case: img[alt="Free Leech"]: "0"