From 8f34947c241ac8e160cd7259c07ca286a406bdb8 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 20 Aug 2021 16:18:22 +1200 Subject: [PATCH] firebit: new dateparse --- src/Jackett.Common/Definitions/firebit.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/firebit.yml b/src/Jackett.Common/Definitions/firebit.yml index b695f9c5c..98fbfaa32 100644 --- a/src/Jackett.Common/Definitions/firebit.yml +++ b/src/Jackett.Common/Definitions/firebit.yml @@ -97,7 +97,20 @@ search: - name: replace args: ["-", "0 B"] date: - selector: td:nth-child(5), li.meta-date + # Вчера, 08:01:41 + # 2 дня назад, 19:33:51 + selector: td:nth-child(5):contains(","), li.meta-date:contains(",") + optional: true + filters: + - name: replace + args: ["Вчера,", "Yesterday"] + - name: replace + args: ["дня назад,", "days"] + - name: fuzzytime + date: + # 16.08.2021 20:29:39 + selector: td:nth-child(5):not(:contains(",")), li.meta-date:not(:contains(",")) + optional: true filters: - name: append args: " +03:00" # MSK