Skip to content

Commit

Permalink
thevould: : switch to cookie method
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Aug 8, 2021
1 parent fb3cc5e commit 791fd68
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions src/Jackett.Common/Definitions/thevault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@ caps:
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>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: freeleech
type: checkbox
label: Search freeleech only
Expand All @@ -99,18 +100,9 @@ settings:
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.

login:
path: login.php
method: form
form: form
method: cookie
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
captcha:
type: image
selector: img#freecap
input: word
error:
- selector: table:contains("Login failed!")
cookie: "{{ .Config.cookie }}"
test:
path: main.php
selector: a[href^="logout.php?id="]
Expand Down

0 comments on commit 791fd68

Please sign in to comment.