1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-28 19:04:09 +00:00

ibit: change sort options. resolves #7180

This commit is contained in:
Garfield69 2020-02-15 07:05:32 +13:00
parent 3d8a761524
commit 3e89a2f364

View file

@ -29,17 +29,21 @@
movie-search: [q] movie-search: [q]
settings: settings:
- name: sort - name: sortby
type: select type: select
label: Sort requested from site (applies only to Keyword searches) label: Sort requested from site (applies only to Keyword searches)
default: "uploaded_at:desc" default: "uploaded_at"
options: options:
"uploaded_at:desc": "created desc" "uploaded_at": "created"
"uploaded_at:asc": "created asc" "seeders": "seeders"
"seeders:desc": "seeders desc" "size": "size"
"seeders:asc": "seeders asc" - name: order
"size:desc": "size desc" type: select
"size:asc": "size asc" label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
download: download:
selector: script:contains("magnet:?xt=") selector: script:contains("magnet:?xt=")
@ -56,7 +60,7 @@
search: search:
paths: paths:
# https://ibit.to/torrent-search/2019/all/uploaded_at:desc/1/ # 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: rows:
selector: table.striped > tbody > tr selector: table.striped > tbody > tr