From 655594869d32f88e3d25bdbf546575dbe156bd1c Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 2 Mar 2024 23:21:19 +0000 Subject: [PATCH] abtorrents: update date and size. resolves #15110 --- src/Jackett.Common/Definitions/abtorrents.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/abtorrents.yml b/src/Jackett.Common/Definitions/abtorrents.yml index d6836551c..5f2dea85b 100644 --- a/src/Jackett.Common/Definitions/abtorrents.yml +++ b/src/Jackett.Common/Definitions/abtorrents.yml @@ -145,25 +145,23 @@ search: selector: a[href^="filelist.php?id="] date_day: # auto adjusted by site account profile - # Yesterday, 6:00 AM - selector: td:nth-last-child(5) > span[title*="day"] - attribute: title + # Yesterday 6:00 AM + selector: td:nth-last-child(2) > div:contains("day") optional: true filters: - name: fuzzytime date_year: # auto adjusted by site account profile - # Aug 6 2021, 7:25 PM - selector: td:nth-last-child(5) > span[title]:not([title*="day"]) - attribute: title + # Aug 6 2021 7:25 PM + selector: td:nth-last-child(2) > div:not(:contains("day")) 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: - selector: td:nth-last-child(4) + selector: td:nth-last-child(4) div:first-child grabs: selector: a[href^="snatches.php?id="] seeders: