diff --git a/src/Jackett.Common/Definitions/turktorrent.yml b/src/Jackett.Common/Definitions/turktorrent.yml
index ada95e50f..83cec9079 100644
--- a/src/Jackett.Common/Definitions/turktorrent.yml
+++ b/src/Jackett.Common/Definitions/turktorrent.yml
@@ -77,14 +77,13 @@ caps:
book-search: [q]
settings:
- - name: cookie
+ - name: username
type: text
- label: Cookie
- - name: info_cookie
- type: info
- label: How to get the Cookie
- default: "
- Login to this tracker with your browser
- Open the DevTools panel by pressing F12
- Select the Network tab
- Click on the Doc button (Chrome Browser) or HTML button (FireFox)
- Refresh the page by pressing F5
- Click on the first row entry
- Select the Headers tab on the Right panel
- Find 'cookie:' in the Request Headers section
- Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
"
- - name: info_profile
+ label: Username
+ - name: password
+ type: password
+ label: Password
+ - name: info
type: info
label: Layout
default: "- Only the English Classic profile is supported.
- Make sure to set the Torrent Listing (Listeleme Biçimi) option in your profile to Classic (Klasik)
- And set the Language (Dil) to English
- Using the Modern theme will prevent results, and using Turkish will prevent upload dates.
"
@@ -109,9 +108,24 @@ settings:
asc: asc
login:
- method: cookie
+ path: ?p=home&pid=1
+ method: form
+ form: form#loginbox_form
+ submitpath: ajax/login.php
inputs:
- cookie: "{{ .Config.cookie }}"
+ 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-")
test:
path: ?p=home&pid=1
selector: div#member_info_bar