mirror of
https://github.com/Jackett/Jackett
synced 2025-03-11 14:44:46 +00:00
turktorrent: site has enabled hcaptcha. switch to cookie method.
This commit is contained in:
parent
66bec102db
commit
e1511de04b
1 changed files with 9 additions and 23 deletions
|
@ -65,13 +65,14 @@ caps:
|
||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: cookie
|
||||||
type: text
|
type: text
|
||||||
label: Username
|
label: Cookie
|
||||||
- name: password
|
- name: info_cookie
|
||||||
type: password
|
type: info
|
||||||
label: Password
|
label: How to get the Cookie
|
||||||
- name: info
|
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
|
||||||
|
- name: info_profile
|
||||||
type: info
|
type: info
|
||||||
label: Layout
|
label: Layout
|
||||||
default: "<ol><li>Only the English Classic profile is supported.<li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b><li>And set the <b>Language (Dil)</b> to <b>English</b><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</ol>"
|
default: "<ol><li>Only the English Classic profile is supported.<li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b><li>And set the <b>Language (Dil)</b> to <b>English</b><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</ol>"
|
||||||
|
@ -96,24 +97,9 @@ settings:
|
||||||
asc: asc
|
asc: asc
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: ?p=home&pid=1
|
method: cookie
|
||||||
method: form
|
|
||||||
form: form#loginbox_form
|
|
||||||
submitpath: ajax/login.php
|
|
||||||
inputs:
|
inputs:
|
||||||
action: login
|
cookie: "{{ .Config.cookie }}"
|
||||||
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:
|
test:
|
||||||
path: ?p=home&pid=1
|
path: ?p=home&pid=1
|
||||||
selector: div#member_info_bar
|
selector: div#member_info_bar
|
||||||
|
|
Loading…
Add table
Reference in a new issue