From 9ec3205dedcab6f4aa8bc37f2669cf8a6885022a Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Mon, 8 Mar 2021 22:06:14 +0000 Subject: [PATCH] hdturk: update date selector and timezone --- src/Jackett.Common/Definitions/hdturk.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdturk.yml b/src/Jackett.Common/Definitions/hdturk.yml index a5cb993a1..5c16b0d3a 100644 --- a/src/Jackett.Common/Definitions/hdturk.yml +++ b/src/Jackett.Common/Definitions/hdturk.yml @@ -112,8 +112,10 @@ search: category: 0 search_type: t_name include_dead_torrents: yes + rows: selector: table#sortabletable tbody tr:has(div[id^="port-target-"]) + fields: title: selector: div[id^="port-target-"] a @@ -133,13 +135,10 @@ search: selector: div[id^="port-content-"] img attribute: src date: - selector: td:nth-child(2) - filters: - - name: regexp - args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2}) + selector: td:nth-child(2) > div:nth-last-child(1) filters: - name: append - args: " +03:00" # TRT + args: " +00:00" # auto adjusted by site account profile - name: dateparse args: "02-01-2006 15:04 -07:00" download: