From fad72a699ce1b10600f1ad6b13a0a4e2a7c99063 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 5 Aug 2019 16:35:52 +1200 Subject: [PATCH] shareisland: new layout. --- .../Definitions/shareisland.yml | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/src/Jackett.Common/Definitions/shareisland.yml b/src/Jackett.Common/Definitions/shareisland.yml index 0d584f274..f5ec4ddd5 100644 --- a/src/Jackett.Common/Definitions/shareisland.yml +++ b/src/Jackett.Common/Definitions/shareisland.yml @@ -33,6 +33,7 @@ # Music - {id: 36, cat: Audio/MP3, desc: "Music MP3"} - {id: 37, cat: Audio/Lossless, desc: "Music Flac"} + - {id: 46, cat: Audio, desc: "Music"} # Games - {id: 18, cat: PC/Games, desc: "Games PC"} - {id: 19, cat: Console/PS3, desc: "Games PS3"} @@ -168,21 +169,26 @@ selector: a[href^="download.php?id="] attribute: href size: - selector: td:nth-last-child(3) - grabs: - selector: td:nth-last-child(4) + selector: td:nth-child(2) p:nth-last-child(5) filters: - - name: replace - args: ["---", "0"] - leechers: - selector: td:nth-last-child(5) - seeders: - selector: td:nth-last-child(6) + - name: regexp + args: ":\\s+(.+?)$" date: - selector: td:nth-last-child(7) + selector: td:nth-child(2) p:nth-last-child(4) filters: + - name: regexp + args: ":\\s+(.+?)$" - name: dateparse - args: "02/01/2006" + args: "15:04:05 02/01/2006" + seeders: + selector: td:nth-child(2) p:nth-last-child(3) a:nth-child(1) + leechers: + selector: td:nth-child(2) p:nth-last-child(3) a:nth-child(2) + grabs: + text: 0 + grabs: + selector: td:nth-child(2) p:nth-last-child(3) a:nth-child(3) + optional: true downloadvolumefactor: case: img[alt="Free Leech"]: "0"