mirror of
https://github.com/Jackett/Jackett
synced 2025-01-04 06:22:45 +00:00
torrentdownload: fix category missing. enable cookie method. resolves #7784
This commit is contained in:
parent
79105d9750
commit
ef73523c8e
1 changed files with 13 additions and 2 deletions
|
@ -31,6 +31,13 @@
|
|||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: cookie
|
||||
type: text
|
||||
label: Cookie
|
||||
- name: info
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Access 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<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<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: sort
|
||||
type: select
|
||||
label: Sort requested from site (Applies only to Search with Keywords)
|
||||
|
@ -44,9 +51,14 @@
|
|||
selector: a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
|
||||
login:
|
||||
method: cookie
|
||||
test:
|
||||
path: /
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{ if .Keywords }}search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ .Keywords }}{{else}}latest{{end}}"
|
||||
- path: "{{ if .Keywords }}search{{ re_replace .Config.sort \"_\" \"\" }}?q={{ .Keywords }}{{else}}{{end}}"
|
||||
|
||||
rows:
|
||||
selector: table.table2 > tbody > tr:has(span.smallish)
|
||||
|
@ -54,7 +66,6 @@
|
|||
fields:
|
||||
category:
|
||||
selector: div.tt-name > span.smallish
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["[^A-Za-z]+", ""] # strip everything but letters
|
||||
|
|
Loading…
Reference in a new issue