From 951e01f35fc2a2d3630a0000ae04253ec9a796b7 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 9 Sep 2021 07:02:40 +1200 Subject: [PATCH] Revert "Revert "turktorrent: site has enabled hcaptcha. switch to cookie method."" This reverts commit 594279f5f3986b34de08eaef6f3e7e43478688d8. --- .../Definitions/turktorrent.yml | 32 ++++++------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/src/Jackett.Common/Definitions/turktorrent.yml b/src/Jackett.Common/Definitions/turktorrent.yml index 83cec9079..ada95e50f 100644 --- a/src/Jackett.Common/Definitions/turktorrent.yml +++ b/src/Jackett.Common/Definitions/turktorrent.yml @@ -77,13 +77,14 @@ caps: book-search: [q] settings: - - name: username + - name: cookie type: text - label: Username - - name: password - type: password - label: Password - - name: info + label: Cookie + - name: info_cookie + 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: info_profile type: info label: Layout default: "
  1. Only the English Classic profile is supported.
  2. Make sure to set the Torrent Listing (Listeleme Biçimi) option in your profile to Classic (Klasik)
  3. And set the Language (Dil) to English
  4. Using the Modern theme will prevent results, and using Turkish will prevent upload dates.
" @@ -108,24 +109,9 @@ settings: asc: asc 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: div.error - - selector: :contains("-ERROR-") + cookie: "{{ .Config.cookie }}" test: path: ?p=home&pid=1 selector: div#member_info_bar