From f302d24178fc90044c2c3e511d45c1039c63e52e Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sun, 2 Aug 2020 11:46:59 +1200 Subject: [PATCH] broadcity: switch to cookie method. resolves #9271 --- src/Jackett.Common/Definitions/broadcity.yml | 25 +++++--------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/src/Jackett.Common/Definitions/broadcity.yml b/src/Jackett.Common/Definitions/broadcity.yml index 4969ff11d..e285a30f6 100644 --- a/src/Jackett.Common/Definitions/broadcity.yml +++ b/src/Jackett.Common/Definitions/broadcity.yml @@ -42,31 +42,18 @@ caps: movie-search: [q] settings: - - name: username + - name: cookie type: text - label: Username - - name: password - type: password - label: Password + label: Cookie - name: info type: info - label: Captcha Text Note - default: The Captcha Text code is case sensitive. + 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.
" login: - path: login.php - method: form - form: form[action$="takelogin.php"] + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - captcha: - type: image - selector: img#regimage - input: imagestring - error: - - selector: table:contains("Hata") - - selector: table:contains("Login Giriş Kilitlendi!") + cookie: "{{ .Config.cookie }}" test: path: index.php selector: a[href*="/logout.php?logouthash="]