This commit is contained in:
kaso17 2017-10-24 11:15:52 +02:00
commit 7f7c6eb1c4
2 changed files with 14 additions and 3 deletions

View File

@ -28,6 +28,15 @@
search:
paths:
- path: "{{if .Keywords}}q/{{ .Keywords}}/?sort=time{{else}}recent{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/2?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/3?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/4?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/5?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/6?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/7?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/8?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/9?sort=time{{else}}{{end}}"
- path: "{{if .Keywords}}q/{{ .Keywords}}/10?sort=time{{else}}{{end}}"
rows:
selector: li[class$="item"]
fields:

View File

@ -28,12 +28,14 @@
search:
paths:
- path: /torrents/search/
- path: /torrents/search/?search={{ .Keywords}}
- path: /torrents/search/?search={{ .Keywords}}&page=2
- path: /torrents/search/?search={{ .Keywords}}&page=3
- path: /torrents/search/?search={{ .Keywords}}&page=4
- path: /torrents/search/?search={{ .Keywords}}&page=5
keywordsfilters: #1963
- name: replace # Add Keywords
args: ["Greys Anatomy", "Grey's Anatomy"]
inputs:
search: "{{ .Keywords }}"
rows:
selector: tr.isItem.isItemDesk
fields: