diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 20:53:22 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 20:53:22 +0200 |
commit | 405aa7a9953481a39a4f08f3677fbe9e1523f997 (patch) | |
tree | a62686503ac94118b2f282c34c00512dabff0339 /module/plugins/accounts | |
parent | shareonline expire date fix (diff) | |
download | pyload-405aa7a9953481a39a4f08f3677fbe9e1523f997.tar.xz |
time settings for accounts
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/HotfileCom.py | 3 | ||||
-rw-r--r-- | module/plugins/accounts/UploadedTo.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py index 83551949d..f623e56f1 100644 --- a/module/plugins/accounts/HotfileCom.py +++ b/module/plugins/accounts/HotfileCom.py @@ -19,7 +19,6 @@ from module.plugins.Account import Account from time import strptime, mktime -from urllib import unquote import hashlib class HotfileCom(Account): @@ -69,7 +68,7 @@ class HotfileCom(Account): post.update({"action": method}) post.update({"username":user, "passwordmd5dig":pwhash, "digest":digest}) - return unquote(req.load("http://api.hotfile.com/", post=post)).strip() + return req.load("http://api.hotfile.com/", post=post) def login(self, user, data): req = self.getAccountRequest(user) diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py index 9b51f5aad..4c45fb6fc 100644 --- a/module/plugins/accounts/UploadedTo.py +++ b/module/plugins/accounts/UploadedTo.py @@ -41,7 +41,7 @@ class UploadedTo(Account): return tmp def login(self, user, data): - req = self.getAccountRequest() + req = self.getAccountRequest(user) page = req.load("http://uploaded.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True) if "Login failed!" in page: self.wrongPassword() |