From d031371083bcb109e3377b7624f5971940e261cd Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 6 Feb 2020 08:22:51 +1300 Subject: [PATCH] torrentlt: use cookie method. resolves #7051 --- src/Jackett.Common/Definitions/torrentlt.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentlt.yml b/src/Jackett.Common/Definitions/torrentlt.yml index 9c875c3ae..394e2ceb6 100644 --- a/src/Jackett.Common/Definitions/torrentlt.yml +++ b/src/Jackett.Common/Definitions/torrentlt.yml @@ -67,14 +67,19 @@ search: [q] tv-search: [q, season, ep] + settings: + - name: cookie + type: text + label: Cookie + - name: info + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker in your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Copy & paste the whole cookie string to here
" + login: - path: lt/account-login.php - method: post + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: p.error_text + cookie: "{{ .Config.cookie }}" test: path: lt/torrents.php @@ -126,3 +131,4 @@ filters: - name: dateparse args: "2006-01-02 15:04" +# engine tbd