diff --git a/src/Jackett.Common/Definitions/xtremefile.yml b/src/Jackett.Common/Definitions/xtremefile.yml index 825e250fc..0247beda6 100644 --- a/src/Jackett.Common/Definitions/xtremefile.yml +++ b/src/Jackett.Common/Definitions/xtremefile.yml @@ -43,6 +43,30 @@ tv-search: [q, season, ep] movie-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: "4" + options: + "4": "created" + "7": "seeders" + "5": "size" + "1": "title" + - name: type + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" + login: path: takelogin.php method: post @@ -59,14 +83,18 @@ paths: - path: browse.php inputs: - $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" # 0 name 1 descr 2 both blah: 0 # 1 all 2 onlydead 3 free 4 x2 incldead: 1 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + rows: selector: table tbody tr.browse, table tbody tr.sticky + fields: category: selector: a[href^="browse.php?cat="] @@ -101,7 +129,7 @@ selector: td:nth-last-child(3) filters: - name: regexp - args: ([\d\.]+) + args: (\d+) seeders: selector: td:nth-last-child(2) leechers: