From f3de97be6186ed752ec466f060762c01f5e1a5a1 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Thu, 27 Dec 2018 17:59:16 +0100 Subject: [PATCH] SceneHD: use cookie auth --- src/Jackett.Common/Definitions/scenehd.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/scenehd.yml b/src/Jackett.Common/Definitions/scenehd.yml index c5e1d3400..733c1954d 100644 --- a/src/Jackett.Common/Definitions/scenehd.yml +++ b/src/Jackett.Common/Definitions/scenehd.yml @@ -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