From a6950ca88de998383a6ac157206a0fb57112d424 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 23 Jul 2020 09:01:17 +1200 Subject: [PATCH] world-of-tomorrow: update login. untested. #9213 --- .../Definitions/world-of-tomorrow.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/world-of-tomorrow.yml b/src/Jackett.Common/Definitions/world-of-tomorrow.yml index 4aa95bd47..15d622582 100644 --- a/src/Jackett.Common/Definitions/world-of-tomorrow.yml +++ b/src/Jackett.Common/Definitions/world-of-tomorrow.yml @@ -77,26 +77,28 @@ settings: label: "Secure Code" login: - path: login.php - method: form - form: form + path: takelogin.php + method: post inputs: - take: "yes" username: "{{ .Config.username }}" password: "{{ .Config.password }}" - secure_code: "{{ .Config.secure_code }}" + pin: "{{ .Config.secure_code }}" + error: + - selector: table.tableinborder:contains("Fehler") + - selector: table.tableinborder:contains("gebannt") test: - path: sessioncheck.php + path: tfiles.php search: path: tfiles.php inputs: - search: "{{ .Query.Keywords }}" - incldead: "1" + search: "{{ .Keywords }}" + incldead: 1 showsearch: 0 rows: selector: table.table-bordered > tbody > tr + fields: title: selector: a[href^="details.php"] @@ -142,3 +144,4 @@ search: filters: - name: dateparse args: "02.01.2006 15:04:05" +# engine n/a