yggtorrent: amendments for login fixes #2852

This commit is contained in:
Garfield69 2018-04-06 08:20:46 +12:00
parent 77d8ef50b3
commit 8cd330e5fb
1 changed files with 5 additions and 7 deletions

View File

@ -72,9 +72,6 @@
movie-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: username
type: text
label: Username
@ -101,8 +98,9 @@
default: false
login:
path: "/"
method: cookie # temp
method: form
path: /
form: form[action$="/user/login"]
inputs:
id: "{{ .Config.username }}"
pass: "{{ .Config.password }}"
@ -110,8 +108,8 @@
error:
- selector: "#login_msg_pass[style=\"\"][style] > center"
test:
path: "/"
selector: "a[href$=\"user/logout\"]"
path: /
selector: a[href$="/user/logout"]
search:
paths: