mirror of
https://github.com/Jackett/Jackett
synced 2024-12-29 11:17:22 +00:00
assorted: replace 2020 on TEST with .Today.Year
This commit is contained in:
parent
e777397faa
commit
62753f4848
4 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
|||
search:
|
||||
# https://www.bteye.org/q/2020
|
||||
paths:
|
||||
- path: "q/{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"
|
||||
- path: "q/{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||
|
||||
rows:
|
||||
selector: div.plist
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
- path: search.php
|
||||
inputs:
|
||||
tracker_search: torrent
|
||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"
|
||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||
terms: all
|
||||
fp: 1
|
||||
author: ""
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
- path: search.php
|
||||
inputs:
|
||||
tracker_search: torrent
|
||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"
|
||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||
terms: all
|
||||
author: ""
|
||||
sc: 1
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
showposts: 1
|
||||
# 0 in article 1 in comments 2 in static pages 3 in article titles
|
||||
titleonly: 3
|
||||
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}2020{{ end }}"
|
||||
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||
sortby: "{{ .Config.sort }}"
|
||||
resorder: "{{ .Config.type }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue