lemonhd: update search and sort. resolves #11829

This commit is contained in:
ilike2burnthing 2021-05-30 05:42:39 +01:00 committed by GitHub
parent 2ee6104c46
commit 91c70c88ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 15 deletions

View File

@ -42,12 +42,12 @@ settings:
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
default: 4 default: added
options: options:
4: created added: created
7: seeders seeders: seeders
5: size size: size
1: title name: title
- name: type - name: type
type: select type: select
label: Order requested from site label: Order requested from site
@ -72,16 +72,10 @@ search:
- path: torrents.php - path: torrents.php
inputs: inputs:
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 incldead, 1 active, 2 dead search_area: "{{ if .Query.IMDBID }}imdb{{ else }}name{{ end }}"
incldead: 0 suggest: 0
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30% column: "{{ .Config.sort }}"
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" sort: "{{ .Config.type }}"
# 0 title, 1 descr, 3 uploader, 4 imdburl
search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
# 0 AND, 1 OR, 2 exact
search_mode: 0
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows: rows:
selector: table.torrents > tbody > tr:has(a[href^="download.php?"]) selector: table.torrents > tbody > tr:has(a[href^="download.php?"])