From 133d3f5b9e1806bbaa39de82b26f426416d3e665 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Wed, 28 Feb 2024 00:35:32 +0000 Subject: [PATCH] rustorka: change to credentials login --- src/Jackett.Common/Definitions/rustorka.yml | 24 ++++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/rustorka.yml b/src/Jackett.Common/Definitions/rustorka.yml index 1ad06bbe4..eeefb0058 100644 --- a/src/Jackett.Common/Definitions/rustorka.yml +++ b/src/Jackett.Common/Definitions/rustorka.yml @@ -772,13 +772,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: stripcyrillic type: checkbox label: Strip Cyrillic Letters @@ -809,9 +808,15 @@ settings: 1: asc login: - method: cookie + path: forum/login.php + method: post inputs: - cookie: "{{ .Config.cookie }}" + login_username: "{{ .Config.username }}" + login_password: "{{ .Config.password }}" + autologin: 1 + login: Вход + error: + - selector: h4.warnColor1.mrg_16 test: path: forum/index.php selector: a[href="./login.php?logout=1"] @@ -880,6 +885,9 @@ search: - name: re_replace # S01E02 to сезон 1 сери 2 args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "сезон $1 сери $2"] + headers: + Cookie: ["godbayadblock=godbayadblock"] + rows: selector: tr[id^="tor_"]:has(a[href^="./download.php?id="])