diff options
author | Jeix <devnull@localhost> | 2010-10-03 15:36:10 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-10-03 15:36:10 +0200 |
commit | 23b9a6cc9d382cf292ec29e7652e427a4da3ac71 (patch) | |
tree | 27d83197c44622ae67dac6d2df3ff138573091f8 /module/plugins/accounts/HotfileCom.py | |
parent | acc fixes, closed #134, closed #141 (diff) | |
download | pyload-23b9a6cc9d382cf292ec29e7652e427a4da3ac71.tar.xz |
HotfileCom fix
Diffstat (limited to 'module/plugins/accounts/HotfileCom.py')
-rw-r--r-- | module/plugins/accounts/HotfileCom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py index f623e56f1..83551949d 100644 --- a/module/plugins/accounts/HotfileCom.py +++ b/module/plugins/accounts/HotfileCom.py @@ -19,6 +19,7 @@ from module.plugins.Account import Account from time import strptime, mktime +from urllib import unquote import hashlib class HotfileCom(Account): @@ -68,7 +69,7 @@ class HotfileCom(Account): post.update({"action": method}) post.update({"username":user, "passwordmd5dig":pwhash, "digest":digest}) - return req.load("http://api.hotfile.com/", post=post) + return unquote(req.load("http://api.hotfile.com/", post=post)).strip() def login(self, user, data): req = self.getAccountRequest(user) |