1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-29 11:17:22 +00:00

spiritofevolution: fix login. resolves #7512

This commit is contained in:
Garfield69 2020-03-06 14:35:03 +13:00
parent c42027842b
commit 0cabbd68c5

View file

@ -56,13 +56,12 @@
movie-search: [q] movie-search: [q]
settings: settings:
- name: cookie - name: username
type: text type: text
label: Cookie label: Username
- name: info - name: password
type: info type: password
label: How to get the Cookie label: Password
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<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here.</ol>"
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
@ -81,9 +80,25 @@
"asc": "asc" "asc": "asc"
login: login:
method: cookie path: haustuer.php
method: form
form: form[action="haustuer.php"]
cookies: ["JAVA=OK"] # avoid jscheck redirect
inputs: inputs:
cookie: "{{ .Config.cookie }}" input[id="username"]: "{{ .Config.username }}"
input[id="password"]: "{{ .Config.password }}"
input[name="loginkeeping"]: loginkeeping
input[name="loginnow"]: yes
selectors: true
selectorinputs:
uufl:
selector: input[name="uufl"]
attribute: value
uupf:
selector: input[name="uupf"]
attribute: value
error:
- selector: "div[style=\"color: #EC0000;\"]"
test: test:
path: index.php path: index.php
selector: a[href="logout.php"] selector: a[href="logout.php"]