diff options
Diffstat (limited to 'module/plugins/accounts/UploadedTo.py')
-rw-r--r-- | module/plugins/accounts/UploadedTo.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py index a783d9154..9b51f5aad 100644 --- a/module/plugins/accounts/UploadedTo.py +++ b/module/plugins/accounts/UploadedTo.py @@ -42,4 +42,6 @@ class UploadedTo(Account): def login(self, user, data): req = self.getAccountRequest() - req.load("http://uploaded.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True) + page = req.load("http://uploaded.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True) + if "Login failed!" in page: + self.wrongPassword() |