From 8b15b7694133e85f1b7e5f7e8bd2c9b9ff68638d Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 2 Jan 2022 04:26:24 +0000 Subject: [PATCH] bitbazis: update layout and login --- src/Jackett.Common/Definitions/bitbazis.yml | 34 +++++++++------------ 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/src/Jackett.Common/Definitions/bitbazis.yml b/src/Jackett.Common/Definitions/bitbazis.yml index 1ab4d03f3..29e601aec 100644 --- a/src/Jackett.Common/Definitions/bitbazis.yml +++ b/src/Jackett.Common/Definitions/bitbazis.yml @@ -53,12 +53,13 @@ caps: music-search: [q] 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: "
  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.
" - name: sort type: select label: Sort requested from site @@ -67,7 +68,6 @@ settings: 1: title 4: added 5: size - 7: seeders - name: type type: select label: Order requested from site @@ -81,13 +81,9 @@ settings: default: For best results, change the Torrentek száma egy oldalon: setting to 100 on your account profile. login: - path: login.php - method: post + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: table[width="920"]:contains("Hiba") + cookie: "{{ .Config.cookie }}" test: path: index.php selector: a[href^="logout.php?k="] @@ -129,29 +125,27 @@ search: - name: replace args: ["details.php?id=", "download.php?torrent="] size: - selector: td:last-child + selector: td:nth-last-child(2) date: # 2021-11-09 16:51:24 - selector: td:nth-last-child(2) + selector: td:last-child filters: - name: append args: " +01:00" # CET - name: dateparse args: "2006-01-02 15:04:05 -07:00" - files: - selector: td:nth-last-child(4) grabs: - selector: td:nth-child(2) + selector: td:nth-child(6) filters: - name: regexp - args: "D:(\\d+)x" + args: "D:(\\d+)" seeders: - selector: td:nth-child(2) + selector: td:nth-child(4) filters: - name: regexp args: "S:(\\d+)" leechers: - selector: td:nth-child(2) + selector: td:nth-child(5) filters: - name: regexp args: "L:(\\d+)"