From cc8a980a7051e9af382f5715ca5036d9e1e5d8d7 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 7 Jun 2023 04:47:27 +0300 Subject: [PATCH] abtorrents: fix publish date --- src/Jackett.Common/Definitions/abtorrents.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/abtorrents.yml b/src/Jackett.Common/Definitions/abtorrents.yml index fcf302436..8600a638e 100644 --- a/src/Jackett.Common/Definitions/abtorrents.yml +++ b/src/Jackett.Common/Definitions/abtorrents.yml @@ -139,20 +139,22 @@ search: files: selector: td:nth-last-child(9) date_day: - # Yesterday
6:00 AM - selector: td:nth-last-child(7):contains("day") # auto adjusted by site account profile + # Yesterday, 6:00 AM + selector: td:nth-last-child(7) > span[title*="day"] + attribute: title optional: true filters: - name: fuzzytime date_year: - # Aug 6 2021
7:25 PM - selector: td:nth-last-child(7):not(:contains("day")) # auto adjusted by site account profile + # Aug 6 2021, 7:25 PM + selector: td:nth-last-child(7) > span[title]:not([title*="day"]) + attribute: title optional: true filters: - name: dateparse - args: "MMM d yyyy h:mm tt" + args: "MMM d yyyy, h:mm tt" date: text: "{{ if or .Result.date_day .Result.date_year }}{{ or .Result.date_day .Result.date_year }}{{ else }}now{{ end }}" size: