From 4a93db5b48ceeae1776f7ac8c0f6dd2d716ba7ea Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Wed, 5 Apr 2023 12:44:08 +0100 Subject: [PATCH] torrentleech-pl: change to credentials login. #14217 --- .../Definitions/torrentleech-pl.yml | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) 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: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. 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"]