summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/HotfileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/HotfileCom.py')
-rw-r--r--module/plugins/accounts/HotfileCom.py3
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)