Revert "torrentdownloads: switch keywordless searching to today.year resolves #1559"

This reverts commit 75987870f5
This commit is contained in:
ilike2burnthing
2021-09-06 14:13:29 +01:00
committed by GitHub
parent b8751351fb
commit e493b51ff6

View File

@@ -91,10 +91,10 @@ download:
search:
paths:
- path: search/
- path: "{{ if .Keywords }}/search/{{ else }}/today/{{ end }}"
inputs:
$raw: "{{ range .Categories }}s_cat={{.}}&{{end}}"
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
search: "{{ .Keywords }}"
rows:
selector: div.inner_container > div:has(p:has(a[href^="/torrent/"])):not(:has(span.__cf_email__))