mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentlt: use cookie method. resolves #7051
This commit is contained in:
@@ -67,14 +67,19 @@
|
|||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: cookie
|
||||||
|
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>"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: lt/account-login.php
|
method: cookie
|
||||||
method: post
|
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
cookie: "{{ .Config.cookie }}"
|
||||||
password: "{{ .Config.password }}"
|
|
||||||
error:
|
|
||||||
- selector: p.error_text
|
|
||||||
test:
|
test:
|
||||||
path: lt/torrents.php
|
path: lt/torrents.php
|
||||||
|
|
||||||
@@ -126,3 +131,4 @@
|
|||||||
filters:
|
filters:
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04"
|
args: "2006-01-02 15:04"
|
||||||
|
# engine tbd
|
||||||
|
Reference in New Issue
Block a user