Skip to content

Commit

Permalink
torrent.lt: fixed login, added user/password to settings (#12829)
Browse files Browse the repository at this point in the history
  • Loading branch information
flygonecrazy committed Jan 15, 2022
1 parent a2b1604 commit 6c5a005
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/Jackett.Common/Definitions/torrentlt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,12 @@ caps:
book-search: [q]

settings:
- name: cookie
- name: username
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker in 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<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
Expand All @@ -119,11 +118,6 @@ settings:
asc: asc

login:
# method: cookie
# inputs:
# cookie: "{{ .Config.cookie }}"
# test:
# path: lt/torrents.php
path: lt/account-login.php
method: post
inputs:
Expand Down

1 comment on commit 6c5a005

@marichuanaa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, that was quick. Thanks!

Please sign in to comment.