diff --git a/src/Jackett.Common/Definitions/blutopia.yml b/src/Jackett.Common/Definitions/blutopia.yml
index 84f44f750..8323f11ba 100644
--- a/src/Jackett.Common/Definitions/blutopia.yml
+++ b/src/Jackett.Common/Definitions/blutopia.yml
@@ -22,13 +22,12 @@
movie-search: [q, imdbid]
settings:
- - name: cookie
+ - name: username
type: text
- label: Cookie
- - name: info
- 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
@@ -47,12 +46,19 @@
"asc": "asc"
login:
- method: cookie
+ path: login
+ method: form
+ form: form[action*="/login"]
inputs:
- cookie: "{{ .Config.cookie }}"
- test:
- path: /
- selector: a[href$="/logout"]
+ username: "{{ .Config.username }}"
+ password: "{{ .Config.password }}"
+ remember: 1
+ selectorinputs:
+ _token:
+ selector: input[name="_token"]
+ attribute: value
+ error:
+ - selector: div#ERROR_COPY
ratio:
path: /