From 23b9a6cc9d382cf292ec29e7652e427a4da3ac71 Mon Sep 17 00:00:00 2001 From: Jeix Date: Sun, 3 Oct 2010 15:36:10 +0200 Subject: HotfileCom fix --- module/plugins/hoster/HotfileCom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/HotfileCom.py') diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index f3c6b67dd..3b88efe1f 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -3,6 +3,7 @@ import re from time import time +from urllib import unquote from module.plugins.Hoster import Hoster from module.plugins.ReCaptcha import ReCaptcha @@ -55,7 +56,7 @@ class HotfileCom(Hoster): elif self.account and login: return self.account.apiCall(method, post, self.user) post.update({"action": method}) - return self.load("http://api.hotfile.com/", post=post) + return unquote(self.load("http://api.hotfile.com/", post=post)).strip() def process(self, pyfile): self.wantReconnect = False -- cgit v1.2.3