diff options
author | 2015-07-25 04:59:27 +0200 | |
---|---|---|
committer | 2015-07-25 04:59:27 +0200 | |
commit | 8f17f875f6e28f73ddb10da59c6464bd04922222 (patch) | |
tree | 29631cd1f81a40283c71dfdd005b9d24370d5d7f /module/plugins/accounts/HighWayMe.py | |
parent | Fix typo (diff) | |
download | pyload-8f17f875f6e28f73ddb10da59c6464bd04922222.tar.xz |
Account rewritten
Diffstat (limited to 'module/plugins/accounts/HighWayMe.py')
-rw-r--r-- | module/plugins/accounts/HighWayMe.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/HighWayMe.py b/module/plugins/accounts/HighWayMe.py index 5f0d971ae..f546c2fe1 100644 --- a/module/plugins/accounts/HighWayMe.py +++ b/module/plugins/accounts/HighWayMe.py @@ -15,7 +15,7 @@ class HighWayMe(Account): __authors__ = [("EvolutionClip", "evolutionclip@live.de")] - def load_account_info(self, user, req): + def parse_info(self, user, password, data, req): premium = False validuntil = -1 trafficleft = None @@ -40,11 +40,11 @@ class HighWayMe(Account): 'trafficleft': trafficleft} - def login(self, user, data, req): + def login(self, user, password, data, req): html = self.load("https://high-way.me/api.php?login", post={'login': '1', 'user': user, - 'pass': data['password']}) + 'pass': password}) if 'UserOrPassInvalid' in html: - self.wrong_password() + self.fail() |