proaudiotorrents: switch to cookie method resolves #10184

This commit is contained in:
Garfield69
2020-11-14 05:36:28 +13:00
parent 5fdde9869b
commit 5e032aa0a1

View File

@@ -40,12 +40,13 @@ caps:
book-search: [q] book-search: [q]
settings: settings:
- name: username - name: cookie
type: text type: text
label: Username label: Cookie
- name: password - name: info
type: password type: info
label: Password label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@@ -64,15 +65,9 @@ settings:
up: asc up: asc
login: login:
path: login.php method: cookie
method: form
form: form[action="takelogin.php"]
submitpath: takelogin.php
inputs: inputs:
username: "{{ .Config.username }}" cookie: "{{ .Config.cookie }}"
password: "{{ .Config.password }}"
error:
- selector: table tr td.text
test: test:
path: my.php path: my.php