From ca165b9b459a9225b916c55a3ca4426453c20f87 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Tue, 3 Nov 2020 18:53:23 +0000 Subject: [PATCH] extratorrent-cd: results <1hr old shown as from 2020y ago. resolves #10099 fix by garfield69 --- src/Jackett.Common/Definitions/extratorrent-cd.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/extratorrent-cd.yml b/src/Jackett.Common/Definitions/extratorrent-cd.yml index afc06fcce..c10db462a 100644 --- a/src/Jackett.Common/Definitions/extratorrent-cd.yml +++ b/src/Jackett.Common/Definitions/extratorrent-cd.yml @@ -71,7 +71,7 @@ search: - name: fuzzytime date: # 12-27-2019 - selector: td:nth-last-of-type(5):not(:contains(":")):not(:contains("day")) + selector: td:nth-last-of-type(5):not(:contains(":")):not(:contains("day")):not(:contains("ago")) optional: true filters: - name: replace @@ -80,6 +80,16 @@ search: args: " -07:00" # PDT - name: dateparse args: "01-02-2006 -07:00" + date: + # 4-mins-ago + selector: td:nth-last-of-type(5):contains("ago") + optional: true + filters: + - name: replace + args: ["\xA0", "-"] + - name: replace + args: ["-", " "] + - name: timeago size: selector: td:nth-last-of-type(4) seeders: