diff --git a/definitions/v10/acrossthetasman.yml b/definitions/v10/acrossthetasman.yml index 5e46c4a0d..64d68272f 100644 --- a/definitions/v10/acrossthetasman.yml +++ b/definitions/v10/acrossthetasman.yml @@ -47,6 +47,8 @@ login: vb_login_password: "{{ .Config.password }}" cookieuser: 1 do: login + error: + - selector: div.restore:contains("invalid username or password") test: path: torrents.php selector: a[href*="logout.php"] diff --git a/definitions/v10/bestcore.yml b/definitions/v10/bestcore.yml index d73c29275..16c39a1b2 100644 --- a/definitions/v10/bestcore.yml +++ b/definitions/v10/bestcore.yml @@ -106,6 +106,8 @@ login: inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" + error: + - selector: :root:contains("Sikertelen bejelentkezés") test: path: index.php selector: a[href^="logout.php?c="] diff --git a/definitions/v10/carpathians.yml b/definitions/v10/carpathians.yml index eb2137e79..0ab810048 100644 --- a/definitions/v10/carpathians.yml +++ b/definitions/v10/carpathians.yml @@ -72,6 +72,8 @@ login: inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" + error: + - selector: table.main:contains("Sikertelen bejelentkezés") test: path: index.php selector: a[href^="logout.php"] diff --git a/definitions/v10/deildu.yml b/definitions/v10/deildu.yml index 0b0347a36..d8b0d964a 100644 --- a/definitions/v10/deildu.yml +++ b/definitions/v10/deildu.yml @@ -62,6 +62,8 @@ login: username: "{{ .Config.username }}" password: "{{ .Config.password }}" keeplogged: 1 + error: + - selector: table.main:contains("Login failed") test: path: index.php selector: a[href^="logout.php"] diff --git a/definitions/v10/diablotorrent.yml b/definitions/v10/diablotorrent.yml index e6bb2df3b..6f9d85057 100644 --- a/definitions/v10/diablotorrent.yml +++ b/definitions/v10/diablotorrent.yml @@ -100,6 +100,8 @@ login: login: 1 belepes: 1 rhash: 123 + error: + - selector: :root:contains("{\"hiba\":true,") test: path: browse selector: a[href*="logout"] diff --git a/definitions/v10/futuretorrent.yml b/definitions/v10/futuretorrent.yml index 5b0539236..742f9a0cc 100644 --- a/definitions/v10/futuretorrent.yml +++ b/definitions/v10/futuretorrent.yml @@ -114,6 +114,16 @@ login: inputs: username: "{{ .Config.username }}" password: "{{ .Config.password }}" + error: + - selector: table:has(a[href*="login.php?error=1"]) + message: + text: "ERROR: Incorrect username!" + - selector: table:has(a[href*="login.php?error=4"]) + message: + text: "ERROR: Incorrect password!" + - selector: table:has(a[href*="login.php?error="]) + message: + text: "ERROR: Something went wrong during login!" test: path: index.php selector: a[href*="/logout.php"] diff --git a/definitions/v10/nusantarare.yml b/definitions/v10/nusantarare.yml index 641059fc5..11df3589b 100644 --- a/definitions/v10/nusantarare.yml +++ b/definitions/v10/nusantarare.yml @@ -74,7 +74,7 @@ settings: - name: info_activity type: info label: Account Inactivity - default: "Note your account will be DISABLED for the reason below: