diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/AlldebridCom.py | |
parent | Spare fixes and code cosmetics (diff) | |
download | pyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz |
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/AlldebridCom.py')
-rw-r--r-- | module/plugins/accounts/AlldebridCom.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/accounts/AlldebridCom.py b/module/plugins/accounts/AlldebridCom.py index f73c3e0fd..903499d5b 100644 --- a/module/plugins/accounts/AlldebridCom.py +++ b/module/plugins/accounts/AlldebridCom.py @@ -21,7 +21,7 @@ class AlldebridCom(Account): def load_account_info(self, user, req): data = self.get_account_data(user) - html = self.load("http://www.alldebrid.com/account/", req=req) + html = self.load("http://www.alldebrid.com/account/") soup = BeautifulSoup(html) # Try to parse expiration date directly from the control panel page (better accuracy) @@ -41,8 +41,7 @@ class AlldebridCom(Account): html = self.load("https://www.alldebrid.com/api.php", get={'action': "info_user", 'login' : user, - 'pw' : data['password']}, - req=req) + 'pw' : data['password']}) self.log_debug(html) @@ -58,8 +57,7 @@ class AlldebridCom(Account): html = self.load("https://www.alldebrid.com/register/", get={'action' : "login", 'login_login' : user, - 'login_password': data['password']}, - req=req) + 'login_password': data['password']}) if "This login doesn't exist" in html \ or "The password is not valid" in html \ |