mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +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:
|
search:
|
||||||
# https://www.bteye.org/q/2020
|
# https://www.bteye.org/q/2020
|
||||||
paths:
|
paths:
|
||||||
- path: "q/{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"
|
- path: "q/{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: div.plist
|
selector: div.plist
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
- path: search.php
|
- path: search.php
|
||||||
inputs:
|
inputs:
|
||||||
tracker_search: torrent
|
tracker_search: torrent
|
||||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"
|
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||||
terms: all
|
terms: all
|
||||||
fp: 1
|
fp: 1
|
||||||
author: ""
|
author: ""
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
- path: search.php
|
- path: search.php
|
||||||
inputs:
|
inputs:
|
||||||
tracker_search: torrent
|
tracker_search: torrent
|
||||||
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}"
|
keywords: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
|
||||||
terms: all
|
terms: all
|
||||||
author: ""
|
author: ""
|
||||||
sc: 1
|
sc: 1
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
showposts: 1
|
showposts: 1
|
||||||
# 0 in article 1 in comments 2 in static pages 3 in article titles
|
# 0 in article 1 in comments 2 in static pages 3 in article titles
|
||||||
titleonly: 3
|
titleonly: 3
|
||||||
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}2020{{ end }}"
|
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||||
sortby: "{{ .Config.sort }}"
|
sortby: "{{ .Config.sort }}"
|
||||||
resorder: "{{ .Config.type }}"
|
resorder: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue