mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
hon3yhd: restore form login. resolves #5455
This commit is contained in:
@@ -50,37 +50,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:
|
||||||
method: cookie
|
path: login.php
|
||||||
|
method: form
|
||||||
|
form: form[action="takelogin.php"]
|
||||||
inputs:
|
inputs:
|
||||||
cookie: "{{ .Config.cookie }}"
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
error:
|
||||||
|
- selector: tbody:has(td.colhead > span:contains("Error"))
|
||||||
|
- selector: tbody:has(td.colhead > span:contains("failed"))
|
||||||
test:
|
test:
|
||||||
path: browse.php
|
path: browse.php
|
||||||
|
|
||||||
# login:
|
|
||||||
# path: login.php
|
|
||||||
# method: form
|
|
||||||
# form: form[action="takelogin.php"]
|
|
||||||
# inputs:
|
|
||||||
# username: "{{ .Config.username }}"
|
|
||||||
# password: "{{ .Config.password }}"
|
|
||||||
# use_ssl: "1"
|
|
||||||
# perm_ssl: "1"
|
|
||||||
# error:
|
|
||||||
# - selector: tbody:has(td.colhead > span:contains("Error"))
|
|
||||||
# - selector: tbody:has(td.colhead > span:contains("failed"))
|
|
||||||
# test:
|
|
||||||
# path: browse.php
|
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
|
Reference in New Issue
Block a user