mirror of https://github.com/Jackett/Jackett
torlock: switch to .today.year for keywordless. resolves #1650
because fresh.html 404
This commit is contained in:
parent
8842a0aa1b
commit
2484237ba9
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue