summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/HotfileCom.py7
1 files changed, 3 insertions, 4 deletions
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