diff --git a/src/Jackett.Common/Definitions/torrentleech-pl.yml b/src/Jackett.Common/Definitions/torrentleech-pl.yml
index 9fcbfc727..786ea727b 100644
--- a/src/Jackett.Common/Definitions/torrentleech-pl.yml
+++ b/src/Jackett.Common/Definitions/torrentleech-pl.yml
@@ -46,13 +46,12 @@ caps:
book-search: [q]
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 (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.
"
+ label: Username
+ - name: password
+ type: password
+ label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -61,11 +60,24 @@ settings:
type: checkbox
label: Drop the Polish title prefix
default: false
+ - name: flaresolverr
+ type: info
+ label: FlareSolverr
+ default: This site may use Cloudflare DDoS Protection, therefore Jackett requires FlareSolverr to access it.
login:
- method: cookie
+ path: login.php
+ method: form
+ form: form[action="takelogin.php"]
+ captcha:
+ type: image
+ selector: img[src="img.php?size=5"]
+ input: vImageCodP
inputs:
- cookie: "{{ .Config.cookie }}"
+ username: "{{ .Config.username }}"
+ password: "{{ .Config.password }}"
+ error:
+ - selector: td.embedded:has(h2:contains("Logowanie nie udane!"))
test:
path: index.php
selector: a[href^="logout.php"]