mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentdownload: switch to .today.year for keywordless search. resolves #6451
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: torrentdownload
|
id: torrentdownload
|
||||||
name: TorrentDownload
|
name: TorrentDownload
|
||||||
description: "TorrentDownload is a Public general torrent index"
|
description: "TorrentDownload is a Public torrent meta-search engine"
|
||||||
language: en-US
|
language: en-US
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
@@ -124,7 +124,7 @@ download:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ .Keywords }}{{ else }}/{{ end }}"
|
- path: "search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table2 > tbody > tr:has(span.smallish)
|
selector: table.table2 > tbody > tr:has(span.smallish)
|
||||||
|
Reference in New Issue
Block a user