From 119c0d6f7e10f0843cd21e903cb82d0ae7925fa0 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 29 Sep 2019 22:45:17 +1300 Subject: [PATCH] hush: updates for unit3d 1.9.4 --- src/Jackett.Common/Definitions/hush.yml | 26 +++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/hush.yml b/src/Jackett.Common/Definitions/hush.yml index bb559ba74..97b4b6c91 100644 --- a/src/Jackett.Common/Definitions/hush.yml +++ b/src/Jackett.Common/Definitions/hush.yml @@ -37,6 +37,13 @@ path: torrents selector: a[href$="/logout"] + ratio: + path: torrents + selector: li:has(i.fa-sync-alt) + filters: + - name: regexp + args: "Ratio : (\\d+)" + search: paths: - path: filterTorrents @@ -49,7 +56,8 @@ tvdb: "" tmdb: "" mal: "" - sorting: created_at + igdb: "" + sort: created_at direction: desc qty: 100 rows: @@ -69,6 +77,16 @@ details: selector: a.view-torrent attribute: href + banner: + optional: true + selector: div.torrent-poster img + attribute: src + filters: + - name: replace + args: ["https://via.placeholder.com/600x900", ""] + comments: + selector: a[href*="#comments"] + attribute: href size: selector: td:nth-last-child(4) seeders: @@ -80,6 +98,10 @@ filters: - name: regexp args: ([\d\.]+) + imdb: + optional: true + selector: a[href*="www.imdb.com/title/tt"] + attribute: href date: selector: time filters: @@ -121,4 +143,4 @@ "i[data-original-title=\"Global Double Upload\"]": "2" # Global Double Upload "i[data-original-title=\"Featured\"]": "2" # Featured Torrent "*": "1" -# UNIT3D 1.9.2 +# UNIT3D 1.9.4