Skip to content

Commit

Permalink
sdbits: add sorting & imdb search. resolves #10629
Browse files Browse the repository at this point in the history
also results per page info
  • Loading branch information
ilike2burnthing committed Apr 24, 2021
1 parent 62de045 commit b2c0cb6
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions src/Jackett.Common/Definitions/sdbits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,38 @@ caps:

modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]

settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
default: added
options:
added: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: DESC
options:
DESC: desc
ASC: asc
- name: info
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.

login:
path: takeloginn3.php
method: post
Expand All @@ -44,9 +72,14 @@ search:
- path: browse.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
incldead: 1
descriptions: 0
imdbgt: 0
imdblt : 10
imdb: "{{ .Query.IMDBID }}"
sort: "{{ .Config.sort }}"
d: "{{ .Config.type }}"

rows:
selector: table#torrent-list > tbody > tr[id]
Expand Down

0 comments on commit b2c0cb6

Please sign in to comment.