SceneHD: use cookie auth

This commit is contained in:
kaso17 2018-12-27 17:59:16 +01:00
parent 869efa32f4
commit f3de97be61
1 changed files with 6 additions and 8 deletions

View File

@ -30,15 +30,13 @@
movie-search: [q, imdbid]
tv-search: [q, season, ep, imdbid]
settings:
- name: cookie
type: text
label: Cookie
login:
path: login.php
method: form
form: form#loginform
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: body:contains("Your username or password was incorrect.")
method: cookie
test:
path: browse.php