From 2dafcee600b86dfad6db7adaab91a5f6418d40a8 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 7 Oct 2020 14:42:39 +1300 Subject: [PATCH] magico: add date TZ add book-search fix fuzzy date parsing --- src/Jackett.Common/Definitions/magico.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/magico.yml b/src/Jackett.Common/Definitions/magico.yml index 0106e7f22..cc1cca50f 100644 --- a/src/Jackett.Common/Definitions/magico.yml +++ b/src/Jackett.Common/Definitions/magico.yml @@ -100,6 +100,7 @@ caps: tv-search: [q, season, ep] movie-search: [q] music-search: [q] + book-search: [q] settings: - name: username @@ -217,8 +218,6 @@ search: args: ["Uploaded ", ""] - name: replace args: [" by", ""] - - name: replace - args: ["at ", ""] - name: replace args: ["Ανέβηκε ", ""] # Uploaded - name: replace @@ -226,7 +225,7 @@ search: - name: replace args: [" τον/την", ""] # him/her - name: replace - args: ["στις ", ""] # at + args: ["στις ", "at "] # at - name: replace args: ["σήμερα", "Today"] - name: replace @@ -265,8 +264,10 @@ search: args: [" τον/την", ""] # him/her - name: replace args: ["στις ", ""] # at + - name: append + args: " +00:00" # auto adjusted by site account profile - name: dateparse - args: "02-01-2006 15:04" + args: "02-01-2006 15:04 -07:00" date: #
Uploaded Saturday at 21:09 by optional: true @@ -279,6 +280,8 @@ search: args: [" by", ""] - name: replace args: ["at ", ""] + - name: append + args: " +00:00" # auto adjusted by site account profile - name: dateparse - args: "02-01-2006 15:04" + args: "02-01-2006 15:04 -07:00" # TSUE 2.2