diff --git a/src/Jackett.Common/Definitions/finelite.yml b/src/Jackett.Common/Definitions/finelite.yml
index d4dec4f18..354d7046d 100644
--- a/src/Jackett.Common/Definitions/finelite.yml
+++ b/src/Jackett.Common/Definitions/finelite.yml
@@ -10,11 +10,13 @@ links:
settings:
- name: username
+ - name: cookie
type: text
- label: Username
- - name: password
- type: password
- label: Password
+ 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 (Chrome Browser) or HTML button (FireFox)
- Refresh the page by pressing F5
- Click on the first row entry
- Select the Headers tab on the Right panel
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -69,15 +71,9 @@ caps:
book-search: [q]
login:
- path: login.php
- method: form
- form: form#login
+ method: cookie
inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- error:
- - selector: td.embedded:contains("Virhe") # error
- - selector: td.embedded:contains("epäonnistui") # falied
+ cookie: "{{ .Config.cookie }}"
test:
path: /
selector: a[href="ulos.php"]