diff --git a/src/Jackett.Common/Definitions/piratadigital.yml b/src/Jackett.Common/Definitions/piratadigital.yml
index e5b3c4a81..e62dfe367 100644
--- a/src/Jackett.Common/Definitions/piratadigital.yml
+++ b/src/Jackett.Common/Definitions/piratadigital.yml
@@ -22,12 +22,13 @@ caps:
movie-search: [q, imdbid, tmdbid]
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
@@ -50,22 +51,9 @@ settings:
asc: asc
login:
- path: login
- method: form
- form: form[action$="/login"]
+ method: cookie
inputs:
- username: "{{ .Config.username }}"
- password: "{{ .Config.password }}"
- remember: on
- selectorinputs:
- _token:
- selector: input[name="_token"]
- attribute: value
- error:
- - selector: div#ERROR_COPY
-# test:
-# path: /
-# selector: a[href$="/logout"]
+ cookie: "{{ .Config.cookie }}"
search:
paths: