From 0f4093735bb9728b05f0511092661ce1bef6cbdc Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 7 Oct 2023 00:36:16 +0300 Subject: [PATCH] turktorrent: fix date format (#14749) --- src/Jackett.Common/Definitions/turktorrent.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Jackett.Common/Definitions/turktorrent.yml b/src/Jackett.Common/Definitions/turktorrent.yml index 47a4b4a9e..e7265855e 100644 --- a/src/Jackett.Common/Definitions/turktorrent.yml +++ b/src/Jackett.Common/Definitions/turktorrent.yml @@ -136,6 +136,10 @@ search: "sortOptions[sortBy]": "{{ .Config.sort }}" "sortOptions[sortOrder]": "{{ .Config.type }}" + keywordsfilters: + - name: re_replace + args: ["\\b(\\d{4})\\.(\\d{2})\\.(\\d{2})\\b", "$3.$2.$1"] + rows: selector: "table#torrents_table_classic > tbody > tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" @@ -148,6 +152,9 @@ search: args: cid title: selector: a[href*="?p=torrents&pid=10&action=details"] + filters: + - name: re_replace + args: ["\\b(\\d{2})\\.(\\d{2})\\.(\\d{4})\\b", "$3.$2.$1"] details: selector: a[href*="?p=torrents&pid=10&action=details"] attribute: href