mirror of
https://github.com/Jackett/Jackett
synced 2024-12-28 02:39:26 +00:00
ibit: change sort options. resolves #7180
This commit is contained in:
parent
3d8a761524
commit
3e89a2f364
1 changed files with 13 additions and 9 deletions
|
@ -29,17 +29,21 @@
|
|||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: sort
|
||||
- name: sortby
|
||||
type: select
|
||||
label: Sort requested from site (applies only to Keyword searches)
|
||||
default: "uploaded_at:desc"
|
||||
default: "uploaded_at"
|
||||
options:
|
||||
"uploaded_at:desc": "created desc"
|
||||
"uploaded_at:asc": "created asc"
|
||||
"seeders:desc": "seeders desc"
|
||||
"seeders:asc": "seeders asc"
|
||||
"size:desc": "size desc"
|
||||
"size:asc": "size asc"
|
||||
"uploaded_at": "created"
|
||||
"seeders": "seeders"
|
||||
"size": "size"
|
||||
- name: order
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "desc"
|
||||
options:
|
||||
"desc": "desc"
|
||||
"asc": "asc"
|
||||
|
||||
download:
|
||||
selector: script:contains("magnet:?xt=")
|
||||
|
@ -56,7 +60,7 @@
|
|||
search:
|
||||
paths:
|
||||
# https://ibit.to/torrent-search/2019/all/uploaded_at:desc/1/
|
||||
- path: "torrent-search/{{ if .Keywords }}{{ .Keywords }}{{else}}2019{{end}}/all/{{ .Config.sort }}/1/"
|
||||
- path: "torrent-search/{{ if .Keywords }}{{ .Keywords }}{{else}}2019{{end}}/all/{{ .Config.sortby }}:{{ .Config.order }}/1/"
|
||||
|
||||
rows:
|
||||
selector: table.striped > tbody > tr
|
||||
|
|
Loading…
Reference in a new issue