mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted: replace 2020 on TEST with .Today.Year
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
Reference in New Issue
Block a user