From f27675aa929f9d72b474088dd2b64fbc9413a93e Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 10 Oct 2021 10:54:24 +1300 Subject: [PATCH] hdhome: fix date parsing --- src/Jackett.Common/Definitions/hdhome.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Jackett.Common/Definitions/hdhome.yml b/src/Jackett.Common/Definitions/hdhome.yml index fbde91f3f..18af08f23 100644 --- a/src/Jackett.Common/Definitions/hdhome.yml +++ b/src/Jackett.Common/Definitions/hdhome.yml @@ -133,13 +133,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