From 2484237ba953a8fd3ce62146ba1e53c7a10f93a6 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 19 Jul 2023 08:29:55 +1200 Subject: [PATCH] torlock: switch to .today.year for keywordless. resolves #1650 because fresh.html 404 --- src/Jackett.Common/Definitions/torlock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/torlock.yml b/src/Jackett.Common/Definitions/torlock.yml index 071414529..2d1e8ca12 100644 --- a/src/Jackett.Common/Definitions/torlock.yml +++ b/src/Jackett.Common/Definitions/torlock.yml @@ -78,7 +78,7 @@ settings: search: paths: - - path: "{{ if .Keywords }}/all/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{ else }}/fresh.html{{ end }}" + - path: "/all/torrents/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}" categories: ["!", TELEVISION, MOVIES, MUSIC, GAMES, SOFTWARE, ANIME, EBOOKS, OTHER, ADULT, AUDIOBOOK, IMAGES] - path: "{{ if .Keywords }}/television/torrents/{{ .Keywords }}.html?sort={{ .Config.sort }}&order={{ .Config.type }}{{else}}/television/1/{{ .Config.sort }}/{{ .Config.type }}.html{{end}}" categories: [TELEVISION]