diff --git a/src/Jackett.Common/Definitions/torrent-turk.yml b/src/Jackett.Common/Definitions/torrent-turk.yml index 7c723d0ef..d4efa2108 100644 --- a/src/Jackett.Common/Definitions/torrent-turk.yml +++ b/src/Jackett.Common/Definitions/torrent-turk.yml @@ -66,12 +66,13 @@ caps: book-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: freeleech type: checkbox label: Filter freeleech only @@ -101,23 +102,9 @@ settings: default: "If you are getting the error: An error has occurred!You can't view this page unless you read all your unread messages, then access the site with your browser and mark as read all PMs." login: - path: ?p=home&pid=1 - method: form - form: form#loginbox_form - submitpath: ajax/login.php + method: cookie inputs: - action: login - loginbox_membername: "{{ .Config.username }}" - loginbox_password: "{{ .Config.password }}" - loginbox_remember: 1 - selectorinputs: - securitytoken: - selector: "script:contains(\"stKey: \")" - filters: - - name: regexp - args: "stKey: \"(.+?)\"," - error: - - selector: ":contains(\"-ERROR-\")" + cookie: "{{ .Config.cookie }}" test: path: ?p=torrents&type=bookmarks&pid=508 selector: a#logout