From b551bcf6cbbc2b597cbe1891b22af8a299b57df6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 28 Jan 2011 20:57:56 +0100 Subject: closed #215 --- module/plugins/hoster/HotfileCom.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index 1b8fc0e7b..75806fe4e 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -81,7 +81,8 @@ class HotfileCom(Hoster): self.freeDownload() else: dl = self.account.apiCall("getdirectdownloadlink", {"link":self.pyfile.url}, self.user) - dl = unquote(dl).strip() + #dl = unquote(dl).strip() <- Made problems + dl = dl.strip() self.download(dl) def downloadHTML(self): @@ -118,9 +119,7 @@ class HotfileCom(Hoster): matches = free_limit_pattern.findall(self.html[0]) if matches: for match in matches: - if int(match) == 60000: - continue - if int(match) == 0: + if int(match) in (60000,15000,0): continue else: waittime = int(match)/1000 + 65 -- cgit v1.2.3