Skip to content

Commit

Permalink
jackett indexers as of 3dfb8974dd818ea7472921eb5d0d06a9622e5b06
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Jan 16, 2024
1 parent 13e9d7f commit dec75d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
2 changes: 1 addition & 1 deletion definitions/v7/fsm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ settings:
- name: info_token
type: info
label: About your API Token
default: "Request a new API Token in the <a href=\"https://fsm.name/Forums/details?tid=296\" target=\"_blank\">FSM Forum</a> and checking your <a href=\"https://fsm.name/Mail\" target=\"_blank\">Mail</a> after."
default: "Beta API Token applications have now closed. If you haven't already received one by private message, please wait for the official launch."
- name: passkey
type: text
label: Passkey
Expand Down
29 changes: 8 additions & 21 deletions definitions/v7/torrent-turk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
- name: freeleech
type: checkbox
label: Filter freeleech only
Expand Down Expand Up @@ -101,23 +102,9 @@ settings:
default: "If you are getting the error: <b>An error has occurred!You can't view this page unless you read all your unread messages</b>, then access the site with your browser and <b>mark as read</b> 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
Expand Down

0 comments on commit dec75d1

Please sign in to comment.