From 318cc86c6b778f8e8fd420ae63c3bca41dbcecae Mon Sep 17 00:00:00 2001 From: kaso17 Date: Thu, 7 Dec 2017 23:34:27 +0100 Subject: [PATCH] YGGtorrent: fix login error detection --- src/Jackett.Common/Definitions/yggtorrent.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Jackett.Common/Definitions/yggtorrent.yml b/src/Jackett.Common/Definitions/yggtorrent.yml index ef00e5763..995728041 100644 --- a/src/Jackett.Common/Definitions/yggtorrent.yml +++ b/src/Jackett.Common/Definitions/yggtorrent.yml @@ -103,13 +103,8 @@ id: "{{ .Config.username }}" pass: "{{ .Config.password }}" submit: "" - headers: - "[:authority]": "yggtorrent.com" - "[:method]": "post" - "[:path]": "/" - "[:scheme]": "https" error: - - selector: "body > div.page-content > div > div.col-md-10 > div > div > div > div > div.content-box-large.box-with-header > form > center > table > tbody > tr:nth-child(3) > td:nth-child(2) > button.text:contains('Se connecter')" + - selector: "form > center > span[style=\"color:red\"]" test: path: "/" selector: "a[href$=\"user/logout\"]"