diff --git a/src/Jackett.Common/Definitions/bitspyder.yml b/src/Jackett.Common/Definitions/bitspyder.yml index 00dd17fc5..34a769b4e 100644 --- a/src/Jackett.Common/Definitions/bitspyder.yml +++ b/src/Jackett.Common/Definitions/bitspyder.yml @@ -6,6 +6,8 @@ type: private encoding: windows-1252 links: + - https://bitspyder.net/ + legacylinks: - http://bitspyder.net/ caps: @@ -47,9 +49,34 @@ modes: 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: "8" + options: + "8": "created" + "6": "seeders" + "4": "size" + "1": "title" + - name: type + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" + login: - path: processf.php - method: post + path: login.php + method: form + form: form inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" @@ -61,17 +88,20 @@ search: paths: - path: browse.php - method: post inputs: search: "{{ .Keywords }}" # 0 active 1 incldead 2 onlydead incldead: 1 # 0 title 1 default scope: 1 + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + rows: selector: table > tbody > tr[class] filters: - name: andmatch + fields: # there are two styles, we support both title: @@ -101,7 +131,7 @@ selector: td.rowcol:nth-child(7):has(br), td.clear:nth-child(4) filters: - name: regexp - args: ([\d,]+) + args: (\d+) seeders: selector: td.rowcol:nth-last-child(3) leechers: @@ -138,3 +168,4 @@ description: optional: true selector: font[color="#990000"] +# custom v4