diff --git a/src/Jackett.Common/Definitions/spiritofrevolution.yml b/src/Jackett.Common/Definitions/spiritofrevolution.yml
index 85ae0feba..1eddce333 100644
--- a/src/Jackett.Common/Definitions/spiritofrevolution.yml
+++ b/src/Jackett.Common/Definitions/spiritofrevolution.yml
@@ -56,13 +56,12 @@
movie-search: [q, imdbid]
settings:
- - name: cookie
+ - name: username
type: text
- label: Cookie
- - name: info_cookie
- type: info
- label: How to get the Cookie
- default: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button
- Refresh the page by pressing F5
- Select the Headers tab
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
+ 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"]