diff --git a/src/Jackett.Common/Definitions/teamhd.yml b/src/Jackett.Common/Definitions/teamhd.yml index c06c395dc..d592993cb 100644 --- a/src/Jackett.Common/Definitions/teamhd.yml +++ b/src/Jackett.Common/Definitions/teamhd.yml @@ -27,18 +27,35 @@ tv-search: [q, season, ep] movie-search: [q] +# login: +# path: takelogin.php +# method: post +# inputs: +# username: "{{ .Config.username }}" +# password: "{{ .Config.password }}" +# error: +# - selector: div.error +# test: +# path: index.php +# selector: a[href="/logout.php"] + + settings: + - name: cookie + 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
  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: takelogin.php - method: post + method: cookie inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - error: - - selector: div.error + cookie: "{{ .Config.cookie }}" test: path: index.php selector: a[href="/logout.php"] - + search: paths: - path: browse