From 09c1c970521c186820f3e327b6a54e2d030c0c80 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 10 Oct 2021 10:46:43 +1300 Subject: [PATCH] hdsky: fix date parsing --- src/Jackett.Common/Definitions/hdsky.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Jackett.Common/Definitions/hdsky.yml b/src/Jackett.Common/Definitions/hdsky.yml index 9095f7615..1a66d92bd 100644 --- a/src/Jackett.Common/Definitions/hdsky.yml +++ b/src/Jackett.Common/Definitions/hdsky.yml @@ -102,13 +102,24 @@ search: leechers: selector: td.rowfollow:nth-child(7) date: + # time type: time elapsed (default) selector: td.rowfollow:nth-child(4) > span[title] attribute: title + optional: true filters: - name: append args: " +08:00" # CST - name: dateparse args: "2006-01-02 15:04:05 -07:00" + date: + # time added + selector: td.rowfollow:nth-child(4):not(:has(span)) + optional: true + filters: + - name: append + args: " +08:00" # CST + - name: dateparse + args: "2006-01-0215:04:05 -07:00" downloadvolumefactor: case: img.pro_free: 0