1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-27 10:18:55 +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]
settings:
- name: cookie
- name: username
type: text
label: Cookie
- name: info
type: info
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<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>"
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
@ -81,9 +80,25 @@
"asc": "asc"
login:
method: cookie
path: haustuer.php
method: form
form: form[action="haustuer.php"]
cookies: ["JAVA=OK"] # avoid jscheck redirect
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:
path: index.php
selector: a[href="logout.php"]