From 0f17c4b499fe322d82ee8903d08f94a6d404eb3d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 24 Feb 2023 21:59:31 +0200 Subject: [PATCH] assorted yml: dateparse update. related to #14072 (#14077) --- src/Jackett.Common/Definitions/Bittorrentfiles.yml | 2 +- src/Jackett.Common/Definitions/coastalcrew.yml | 2 +- src/Jackett.Common/Definitions/dark-shadow.yml | 2 +- src/Jackett.Common/Definitions/fantasticheaven.yml | 2 +- src/Jackett.Common/Definitions/firebit.yml | 2 +- src/Jackett.Common/Definitions/houseofdevil.yml | 2 +- src/Jackett.Common/Definitions/mnv.yml | 2 +- src/Jackett.Common/Definitions/newretro.yml | 2 +- src/Jackett.Common/Definitions/speedmasterhd.yml | 2 +- src/Jackett.Common/Definitions/speedtorrentreloaded.yml | 2 +- src/Jackett.Common/Definitions/spiritofrevolution.yml | 2 +- src/Jackett.Common/Definitions/the-crazy-ones.yml | 2 +- src/Jackett.Common/Definitions/thefallingangels.yml | 2 +- src/Jackett.Common/Definitions/thenewfun.yml | 2 +- src/Jackett.Common/Definitions/torrent-explosiv.yml | 2 +- src/Jackett.Common/Definitions/woot.yml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/Jackett.Common/Definitions/Bittorrentfiles.yml b/src/Jackett.Common/Definitions/Bittorrentfiles.yml index bdb77631a..358b1afc2 100644 --- a/src/Jackett.Common/Definitions/Bittorrentfiles.yml +++ b/src/Jackett.Common/Definitions/Bittorrentfiles.yml @@ -218,7 +218,7 @@ search: - name: append args: " +01:00" # CET - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" downloadvolumefactor: diff --git a/src/Jackett.Common/Definitions/coastalcrew.yml b/src/Jackett.Common/Definitions/coastalcrew.yml index 6c985b9da..a78b8a5b5 100644 --- a/src/Jackett.Common/Definitions/coastalcrew.yml +++ b/src/Jackett.Common/Definitions/coastalcrew.yml @@ -157,7 +157,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: case: img[src="pic/oupic.gif"]: 0 # only upload is counted diff --git a/src/Jackett.Common/Definitions/dark-shadow.yml b/src/Jackett.Common/Definitions/dark-shadow.yml index 591701071..1c727c9b1 100644 --- a/src/Jackett.Common/Definitions/dark-shadow.yml +++ b/src/Jackett.Common/Definitions/dark-shadow.yml @@ -207,7 +207,7 @@ search: - name: append args: " +01:00" # CET - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" description: diff --git a/src/Jackett.Common/Definitions/fantasticheaven.yml b/src/Jackett.Common/Definitions/fantasticheaven.yml index 54ae42d41..62eb7a55b 100644 --- a/src/Jackett.Common/Definitions/fantasticheaven.yml +++ b/src/Jackett.Common/Definitions/fantasticheaven.yml @@ -169,7 +169,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: case: img[src="pic/oupic.gif"]: 0 # only upload is counted diff --git a/src/Jackett.Common/Definitions/firebit.yml b/src/Jackett.Common/Definitions/firebit.yml index 52192ea96..996d83550 100644 --- a/src/Jackett.Common/Definitions/firebit.yml +++ b/src/Jackett.Common/Definitions/firebit.yml @@ -118,7 +118,7 @@ search: - name: append args: " +03:00" # MSK - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" seeders: diff --git a/src/Jackett.Common/Definitions/houseofdevil.yml b/src/Jackett.Common/Definitions/houseofdevil.yml index be699a15e..cd44f116e 100644 --- a/src/Jackett.Common/Definitions/houseofdevil.yml +++ b/src/Jackett.Common/Definitions/houseofdevil.yml @@ -161,7 +161,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: case: img[src="/pic/free.gif"]: 0 diff --git a/src/Jackett.Common/Definitions/mnv.yml b/src/Jackett.Common/Definitions/mnv.yml index 2eaeda010..bd0d27c9b 100644 --- a/src/Jackett.Common/Definitions/mnv.yml +++ b/src/Jackett.Common/Definitions/mnv.yml @@ -135,7 +135,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" grabs: selector: td.tablea table tbody tr:nth-child(2) td:nth-child(3) b size: diff --git a/src/Jackett.Common/Definitions/newretro.yml b/src/Jackett.Common/Definitions/newretro.yml index ef7eeddeb..c99b08a1d 100644 --- a/src/Jackett.Common/Definitions/newretro.yml +++ b/src/Jackett.Common/Definitions/newretro.yml @@ -161,7 +161,7 @@ search: - name: append args: " +01:00" # CET - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: case: img[src="pic/oupic.gif"]: 0 # only upload is counted diff --git a/src/Jackett.Common/Definitions/speedmasterhd.yml b/src/Jackett.Common/Definitions/speedmasterhd.yml index 088da2f46..d604069cc 100644 --- a/src/Jackett.Common/Definitions/speedmasterhd.yml +++ b/src/Jackett.Common/Definitions/speedmasterhd.yml @@ -207,7 +207,7 @@ search: - name: replace args: ["um ", ""] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" downloadvolumefactor: diff --git a/src/Jackett.Common/Definitions/speedtorrentreloaded.yml b/src/Jackett.Common/Definitions/speedtorrentreloaded.yml index 7a02f03a9..be7886708 100644 --- a/src/Jackett.Common/Definitions/speedtorrentreloaded.yml +++ b/src/Jackett.Common/Definitions/speedtorrentreloaded.yml @@ -165,7 +165,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: text: 1 uploadvolumefactor: diff --git a/src/Jackett.Common/Definitions/spiritofrevolution.yml b/src/Jackett.Common/Definitions/spiritofrevolution.yml index 464107c35..3fe4be989 100644 --- a/src/Jackett.Common/Definitions/spiritofrevolution.yml +++ b/src/Jackett.Common/Definitions/spiritofrevolution.yml @@ -177,7 +177,7 @@ search: - name: replace args: ["um ", ""] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" downloadvolumefactor: diff --git a/src/Jackett.Common/Definitions/the-crazy-ones.yml b/src/Jackett.Common/Definitions/the-crazy-ones.yml index cfdd77420..dc3e2f9ad 100644 --- a/src/Jackett.Common/Definitions/the-crazy-ones.yml +++ b/src/Jackett.Common/Definitions/the-crazy-ones.yml @@ -160,7 +160,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: case: img[src="pic/oupic.gif"]: 0 # only upload is counted diff --git a/src/Jackett.Common/Definitions/thefallingangels.yml b/src/Jackett.Common/Definitions/thefallingangels.yml index 5f4dbdf2a..68d0b4e20 100644 --- a/src/Jackett.Common/Definitions/thefallingangels.yml +++ b/src/Jackett.Common/Definitions/thefallingangels.yml @@ -189,7 +189,7 @@ search: - name: append args: " +01:00" # CET - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" description: diff --git a/src/Jackett.Common/Definitions/thenewfun.yml b/src/Jackett.Common/Definitions/thenewfun.yml index 607855b2d..f93789361 100644 --- a/src/Jackett.Common/Definitions/thenewfun.yml +++ b/src/Jackett.Common/Definitions/thenewfun.yml @@ -162,7 +162,7 @@ search: - name: replace args: ["\xA0", " "] - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" downloadvolumefactor: case: img[src="pic/oupic.gif"]: 0 # only upload is counted diff --git a/src/Jackett.Common/Definitions/torrent-explosiv.yml b/src/Jackett.Common/Definitions/torrent-explosiv.yml index e75efdfd4..ffeb8f7b9 100644 --- a/src/Jackett.Common/Definitions/torrent-explosiv.yml +++ b/src/Jackett.Common/Definitions/torrent-explosiv.yml @@ -192,7 +192,7 @@ search: - name: append args: " +01:00" # CET - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" date: text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}" seeders: diff --git a/src/Jackett.Common/Definitions/woot.yml b/src/Jackett.Common/Definitions/woot.yml index 43dc6d9cc..9fd253bdc 100644 --- a/src/Jackett.Common/Definitions/woot.yml +++ b/src/Jackett.Common/Definitions/woot.yml @@ -118,7 +118,7 @@ search: - name: append args: " +01:00" # CET - name: dateparse - args: "02.01.2006 15:04:05 -07:00" + args: "dd.MM.yyyy HH:mm:ss zzz" seeders: selector: td:last-child filters: